Merge pull request #1613 from mheon/log_netns_error

Log an otherwise ignored error from joining a net ns
This commit is contained in:
OpenShift Merge Robot 2018-10-11 10:40:32 -07:00 committed by GitHub
commit 3c23bfca80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}