diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-10-11 10:40:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-11 10:40:32 -0700 |
commit | 3c23bfca807eab55c145092c73dd8eb1e6599f38 (patch) | |
tree | ea0bf75e39560661f138b14a7634d8e38994cb39 /libpod/boltdb_state_linux.go | |
parent | 92b68e802ccafad85b06bbdfa4c050ed384e1a6a (diff) | |
parent | a7318781c60c867b10ecde91a3da3b2ce0704776 (diff) | |
download | podman-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
Diffstat (limited to 'libpod/boltdb_state_linux.go')
-rw-r--r-- | libpod/boltdb_state_linux.go | 2 |
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 } } |