mirror of https://github.com/containers/podman.git
Merge pull request #1613 from mheon/log_netns_error
Log an otherwise ignored error from joining a net ns
This commit is contained in:
commit
3c23bfca80
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue