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

Signed-off-by: Francis Chuang <francis.chuang@boostport.com>
Upstream-commit: 1205a5584650388f36cda922556a31cbce827915
Component: engine
This commit is contained in:
Francis Chuang
2016-07-05 16:18:06 +10:00
parent 9ea2cdd8c8
commit 78dacb842c
@@ -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