1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Signed-off-by: Francis Chuang <francis.chuang@boostport.com>
(cherry picked from commit 1205a55846)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Francis Chuang 2016-07-05 16:18:06 +10:00 committed by Tibor Vass
parent 9d4117ae18
commit e54d291989

View file

@ -328,7 +328,7 @@ func (daemon *Daemon) updateNetwork(container *container.Container) error {
} }
func errClusterNetworkOnRun(n string) 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 // updateContainerNetworkSettings update the network settings