mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00
Run codespell to fix spelling
[NO TESTS NEEDED] Just fixing spelling. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user