mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Fix a grammatical error in errClusterNetworkOnRun()'s error message.
Signed-off-by: Francis Chuang <francis.chuang@boostport.com> (cherry picked from commit 1205a5584650388f36cda922556a31cbce827915) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
committed by
Tibor Vass
parent
9d4117ae18
commit
e54d291989
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user