summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-11 10:40:32 -0700
committerGitHub <noreply@github.com>2018-10-11 10:40:32 -0700
commit3c23bfca807eab55c145092c73dd8eb1e6599f38 (patch)
treeea0bf75e39560661f138b14a7634d8e38994cb39
parent92b68e802ccafad85b06bbdfa4c050ed384e1a6a (diff)
parenta7318781c60c867b10ecde91a3da3b2ce0704776 (diff)
downloadpodman-3c23bfca807eab55c145092c73dd8eb1e6599f38.tar.gz
podman-3c23bfca807eab55c145092c73dd8eb1e6599f38.tar.bz2
podman-3c23bfca807eab55c145092c73dd8eb1e6599f38.zip
Merge pull request #1613 from mheon/log_netns_error
Log an otherwise ignored error from joining a net ns
-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
}
}