From e54d291989adf8758d116aef73bbb56a4118ce50 Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Tue, 5 Jul 2016 16:18:06 +1000 Subject: [PATCH] Fix a grammatical error in errClusterNetworkOnRun()'s error message. Signed-off-by: Francis Chuang (cherry picked from commit 1205a5584650388f36cda922556a31cbce827915) Signed-off-by: Tibor Vass --- daemon/container_operations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/container_operations.go b/daemon/container_operations.go index 3bd50fa31f..8c731ed0d2 100644 --- a/daemon/container_operations.go +++ b/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