mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #24321 from F21/fix-grammatical-error
Fix a grammatical error in errClusterNetworkOnRun()'s error message.
This commit is contained in:
commit
feb7b4d000
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue