aboutsummaryrefslogtreecommitdiff
path: root/libpod/networking_linux.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-12 07:22:48 +0000
committerGitHub <noreply@github.com>2021-08-12 07:22:48 +0000
commitde043a5a029d4d03b91f8b88ca8cee7d71dcdeed (patch)
tree11793798c376c07e4c582c8a976eae4133553070 /libpod/networking_linux.go
parent25ff04dcbe3212db6f72d08f3f904154bab4c0fe (diff)
parent404488a0879c84de523adeacb78c6b898a7e52c8 (diff)
downloadpodman-de043a5a029d4d03b91f8b88ca8cee7d71dcdeed.tar.gz
podman-de043a5a029d4d03b91f8b88ca8cee7d71dcdeed.tar.bz2
podman-de043a5a029d4d03b91f8b88ca8cee7d71dcdeed.zip
Merge pull request #11203 from rhatdan/codespell
Run codespell to fix spelling
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.