From bf468571dd620823e67682589f248cf69fba2af0 Mon Sep 17 00:00:00 2001 From: haircommander Date: Thu, 9 Aug 2018 10:16:40 -0400 Subject: Fixed a bug setting dependencies on the wrong container Signed-off-by: haircommander Closes: #1244 Approved by: mheon --- libpod/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod') 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 -- cgit v1.2.3-54-g00ecf