Browse Source

Name the ingress sandbox explicitly

Signed-off-by: Santhosh Manohar <santhosh@docker.com>
Santhosh Manohar 8 years ago
parent
commit
e31db5d6af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libnetwork/controller.go

+ 1 - 0
libnetwork/controller.go

@@ -920,6 +920,7 @@ func (c *controller) NewSandbox(containerID string, options ...SandboxOption) (s
 
 	if sb.ingress {
 		c.ingressSandbox = sb
+		sb.id = "ingress_sbox"
 	}
 	c.Unlock()
 	defer func() {