mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Log an otherwise ignored error from joining a net ns
Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:

committed by
Matthew Heon

parent
23c9816ba9
commit
a7318781c6
@ -25,7 +25,7 @@ func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) er
|
||||
if err == nil {
|
||||
newState.NetNS = ns
|
||||
} else {
|
||||
logrus.Errorf("error joining network namespace for container %s", ctr.ID())
|
||||
logrus.Errorf("error joining network namespace for container %s: %v", ctr.ID(), err)
|
||||
ctr.valid = false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user