diff options
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/boltdb_state.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index 5e70a2554..7880265b6 100644 --- a/libpod/boltdb_state.go +++ b/libpod/boltdb_state.go @@ -7,6 +7,7 @@ import ( "github.com/boltdb/bolt" "github.com/pkg/errors" + "github.com/sirupsen/logrus" ) // BoltState is a state implementation backed by a Bolt DB @@ -455,7 +456,7 @@ func (s *BoltState) UpdateContainer(ctr *Container) error { } else { // Tear down the existing namespace if err := s.runtime.teardownNetNS(ctr); err != nil { - return err + logrus.Warnf(err.Error()) } // Open the new network namespace @@ -469,7 +470,7 @@ func (s *BoltState) UpdateContainer(ctr *Container) error { // The container no longer has a network namespace // Tear down the old one if err := s.runtime.teardownNetNS(ctr); err != nil { - return err + logrus.Warnf(err.Error()) } } |