Przeglądaj źródła

Merge pull request #17609 from LK4D4/fix_format

Fix error formatting
Doug Davis 9 lat temu
rodzic
commit
ca0a9913c3
1 zmienionych plików z 1 dodań i 1 usunięć
  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(