diff options
author | haircommander <pehunt@redhat.com> | 2018-08-09 10:16:40 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-09 15:16:22 +0000 |
commit | bf468571dd620823e67682589f248cf69fba2af0 (patch) | |
tree | 87a4d993d9b61826a82312e1a32cd428bb617e0d | |
parent | a44641d46b581c8213455ecaec197c0910fb6d87 (diff) | |
download | podman-bf468571dd620823e67682589f248cf69fba2af0.tar.gz podman-bf468571dd620823e67682589f248cf69fba2af0.tar.bz2 podman-bf468571dd620823e67682589f248cf69fba2af0.zip |
Fixed a bug setting dependencies on the wrong container
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1244
Approved by: mheon
-rw-r--r-- | libpod/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go index 8ebb5570b..9f72bbe53 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -455,7 +455,7 @@ func (c *Container) Dependencies() []string { dependsCtrs[c.config.NetNsCtr] = true } if c.config.PIDNsCtr != "" { - dependsCtrs[c.config.NetNsCtr] = true + dependsCtrs[c.config.PIDNsCtr] = true } if c.config.UserNsCtr != "" { dependsCtrs[c.config.UserNsCtr] = true |