summaryrefslogtreecommitdiff
path: root/libpod/networking_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-08-11 10:09:05 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-08-11 16:41:45 -0400
commit404488a0879c84de523adeacb78c6b898a7e52c8 (patch)
tree5a5c931a2353692ab108b0ee7a9c4b5ee9b198d6 /libpod/networking_linux.go
parent7e5a9fdbc0131a2715e9a6d5612e65fb7323c50b (diff)
downloadpodman-404488a0879c84de523adeacb78c6b898a7e52c8.tar.gz
podman-404488a0879c84de523adeacb78c6b898a7e52c8.tar.bz2
podman-404488a0879c84de523adeacb78c6b898a7e52c8.zip
Run codespell to fix spelling
[NO TESTS NEEDED] Just fixing spelling. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/networking_linux.go')
-rw-r--r--libpod/networking_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go
index 8e9b5997c..17e444f66 100644
--- a/libpod/networking_linux.go
+++ b/libpod/networking_linux.go
@@ -1219,7 +1219,7 @@ func (c *Container) NetworkDisconnect(nameOrID, netName string, force bool) erro
return err
}
- // OCICNI will set the loopback adpter down on teardown so we should set it up again
+ // OCICNI will set the loopback adapter down on teardown so we should set it up again
err = c.state.NetNS.Do(func(_ ns.NetNS) error {
link, err := netlink.LinkByName("lo")
if err != nil {
@@ -1229,7 +1229,7 @@ func (c *Container) NetworkDisconnect(nameOrID, netName string, force bool) erro
return err
})
if err != nil {
- logrus.Warnf("failed to set loopback adpter up in the container: %v", err)
+ logrus.Warnf("failed to set loopback adapter up in the container: %v", err)
}
// Reload ports when there are still connected networks, maybe we removed the network interface with the child ip.
// Reloading without connected networks does not make sense, so we can skip this step.