summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-10-09 16:32:55 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-10-11 11:29:42 -0400
commita7318781c60c867b10ecde91a3da3b2ce0704776 (patch)
tree350f75eaa672af94fc3fc60bcd3f749c7fdabbaf
parent23c9816ba9ff1af3538dcb725d86fc565df53a30 (diff)
downloadpodman-a7318781c60c867b10ecde91a3da3b2ce0704776.tar.gz
podman-a7318781c60c867b10ecde91a3da3b2ce0704776.tar.bz2
podman-a7318781c60c867b10ecde91a3da3b2ce0704776.zip
Log an otherwise ignored error from joining a net ns
Signed-off-by: Matthew Heon <mheon@redhat.com>
-rw-r--r--libpod/boltdb_state_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/boltdb_state_linux.go b/libpod/boltdb_state_linux.go
index fce3a1b1e..d91f311e5 100644
--- a/libpod/boltdb_state_linux.go
+++ b/libpod/boltdb_state_linux.go
@@ -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
}
}