Browse code

Fix grammar on error message

Signed-off-by: Justin Cormack <justin.cormack@docker.com>

Justin Cormack authored on 2016/11/25 23:58:20
Showing 1 changed files
... ...
@@ -1028,7 +1028,7 @@ func (daemon *Daemon) ActivateContainerServiceBinding(containerName string) erro
1028 1028
 	}
1029 1029
 	sb := daemon.getNetworkSandbox(container)
1030 1030
 	if sb == nil {
1031
-		return fmt.Errorf("network sandbox not exists for container %s", containerName)
1031
+		return fmt.Errorf("network sandbox does not exist for container %s", containerName)
1032 1032
 	}
1033 1033
 	return sb.EnableService()
1034 1034
 }
... ...
@@ -1041,7 +1041,7 @@ func (daemon *Daemon) DeactivateContainerServiceBinding(containerName string) er
1041 1041
 	}
1042 1042
 	sb := daemon.getNetworkSandbox(container)
1043 1043
 	if sb == nil {
1044
-		return fmt.Errorf("network sandbox not exists for container %s", containerName)
1044
+		return fmt.Errorf("network sandbox does not exist for container %s", containerName)
1045 1045
 	}
1046 1046
 	return sb.DisableService()
1047 1047
 }