浏览代码

Merge pull request #17609 from LK4D4/fix_format

Fix error formatting
Doug Davis 9 年之前
父节点
当前提交
ca0a9913c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/container_unix.go

+ 1 - 1
daemon/container_unix.go

@@ -100,7 +100,7 @@ func (container *Container) setupLinkedContainers() ([]string, error) {
 
 			childBridgeSettings := child.NetworkSettings.Networks["bridge"]
 			if childBridgeSettings == nil {
-				return nil, fmt.Errorf("container %d not attached to default bridge network", child.ID)
+				return nil, fmt.Errorf("container %s not attached to default bridge network", child.ID)
 			}
 
 			link := links.NewLink(