summaryrefslogtreecommitdiff
path: root/libpod/sql_state.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-12-06 16:43:23 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-14 23:59:21 +0000
commitff9c965335af0258bd34edae31699a87a03689a9 (patch)
tree71e308867fe885a2c94181e8631c9c9cf8793f7d /libpod/sql_state.go
parent0ff92f8e20edb46eb8a9d82b929e153bcdaa3044 (diff)
downloadpodman-ff9c965335af0258bd34edae31699a87a03689a9.tar.gz
podman-ff9c965335af0258bd34edae31699a87a03689a9.tar.bz2
podman-ff9c965335af0258bd34edae31699a87a03689a9.zip
Create new network namespaces when initializing containers
Also fix a few lingering lint issues Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #109 Approved by: mheon
Diffstat (limited to 'libpod/sql_state.go')
-rw-r--r--libpod/sql_state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/sql_state.go b/libpod/sql_state.go
index 97df749e9..5248ee87a 100644
--- a/libpod/sql_state.go
+++ b/libpod/sql_state.go
@@ -482,7 +482,7 @@ func (s *SQLState) UpdateContainer(ctr *Container) error {
}
newState.NetNS = ns
}
- } else {
+ } else {
// The container no longer has a network namespace
// Tear down the old one
if err := s.runtime.teardownNetNS(ctr); err != nil {