Преглед на файлове

Fix a grammatical error in errClusterNetworkOnRun()'s error message.

Signed-off-by: Francis Chuang <francis.chuang@boostport.com>
Francis Chuang преди 9 години
родител
ревизия
1205a55846
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      daemon/container_operations.go

+ 1 - 1
daemon/container_operations.go

@@ -328,7 +328,7 @@ func (daemon *Daemon) updateNetwork(container *container.Container) error {
 }
 
 func errClusterNetworkOnRun(n string) error {
-	return fmt.Errorf("swarm-scoped network (%s) is not compatible with `docker create` or `docker run`. This network can be only used docker service", n)
+	return fmt.Errorf("swarm-scoped network (%s) is not compatible with `docker create` or `docker run`. This network can only be used by a docker service", n)
 }
 
 // updateContainerNetworkSettings update the network settings