diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-07-23 11:44:31 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-24 21:50:49 +0000 |
commit | 6f65490e274e5cde5f5cb616719ea27932a764ee (patch) | |
tree | 21156a30f7f7105ab3cbef8550f55a9586d40c60 | |
parent | 6715bffaf6a858df9539d6e48e2c1b634364f83e (diff) | |
download | podman-6f65490e274e5cde5f5cb616719ea27932a764ee.tar.gz podman-6f65490e274e5cde5f5cb616719ea27932a764ee.tar.bz2 podman-6f65490e274e5cde5f5cb616719ea27932a764ee.zip |
spec: allow container:NAME network mode
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1145
Approved by: rhatdan
-rw-r--r-- | pkg/spec/spec.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/spec/spec.go b/pkg/spec/spec.go index 35651f2ed..ada84a87c 100644 --- a/pkg/spec/spec.go +++ b/pkg/spec/spec.go @@ -345,6 +345,7 @@ func addNetNS(config *CreateConfig, g *generate.Generator) error { return nil } else if netMode.IsContainer() { logrus.Debug("Using container netmode") + return nil } else if netMode.IsUserDefined() { logrus.Debug("Using user defined netmode") return nil |