浏览代码

Name the ingress sandbox explicitly

Signed-off-by: Santhosh Manohar <santhosh@docker.com>
Santhosh Manohar 9 年之前
父节点
当前提交
e31db5d6af
共有 1 个文件被更改,包括 1 次插入0 次删除
  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() {