summaryrefslogtreecommitdiff
path: root/pkg/network
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:12:58 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:14:25 -0400
commit526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (patch)
treeac8d7469048c27a0c55a15caa00dedbe3dd76520 /pkg/network
parent397de44d487e25b5820777fcbab9728cf2af5e14 (diff)
downloadpodman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.gz
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.bz2
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.zip
Fix up errors found by codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/network')
-rw-r--r--pkg/network/netconflist_test.go2
-rw-r--r--pkg/network/network.go2
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 {