mirror of
https://github.com/containers/podman.git
synced 2025-09-22 04:03:48 +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 {
|
if err == nil {
|
||||||
newState.NetNS = ns
|
newState.NetNS = ns
|
||||||
} else {
|
} 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
|
ctr.valid = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user