diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-11 11:30:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 11:30:05 -0400 |
commit | d7db1da7897160e1e90accbf0a178a4da99638a4 (patch) | |
tree | 38cf5056056bf5b87b61125c55fc2e6b6f2ceabe /pkg/network | |
parent | 881f2dfe9221a65b0bcac8682dc3add12bfa6077 (diff) | |
parent | 526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (diff) | |
download | podman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.gz podman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.bz2 podman-d7db1da7897160e1e90accbf0a178a4da99638a4.zip |
Merge pull request #7600 from rhatdan/codespell
Fix up errors found by codespell
Diffstat (limited to 'pkg/network')
-rw-r--r-- | pkg/network/netconflist_test.go | 2 | ||||
-rw-r--r-- | pkg/network/network.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/network/netconflist_test.go b/pkg/network/netconflist_test.go index a82a0140a..5893bf985 100644 --- a/pkg/network/netconflist_test.go +++ b/pkg/network/netconflist_test.go @@ -28,7 +28,7 @@ func TestNewIPAMDefaultRoute(t *testing.T) { t.Run(tt.name, func(t *testing.T) { got, err := NewIPAMDefaultRoute(tt.isIPv6) if err != nil { - t.Errorf("no errorr expected: %v", err) + t.Errorf("no error expected: %v", err) } if !reflect.DeepEqual(got, tt.want) { t.Errorf("NewIPAMDefaultRoute() = %v, want %v", got, tt.want) diff --git a/pkg/network/network.go b/pkg/network/network.go index db625da56..c4c1ff67f 100644 --- a/pkg/network/network.go +++ b/pkg/network/network.go @@ -206,7 +206,7 @@ func InspectNetwork(config *config.Config, name string) (map[string]interface{}, } // Exists says whether a given network exists or not; it meant -// specifically for restful reponses so 404s can be used +// specifically for restful responses so 404s can be used func Exists(config *config.Config, name string) (bool, error) { _, err := ReadRawCNIConfByName(config, name) if err != nil { |