1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix grammar on error message

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-25 14:58:20 +00:00
parent 28c3d5c2f9
commit cd5c8e9c2d

View file

@ -1028,7 +1028,7 @@ func (daemon *Daemon) ActivateContainerServiceBinding(containerName string) erro
}
sb := daemon.getNetworkSandbox(container)
if sb == nil {
return fmt.Errorf("network sandbox not exists for container %s", containerName)
return fmt.Errorf("network sandbox does not exist for container %s", containerName)
}
return sb.EnableService()
}
@ -1041,7 +1041,7 @@ func (daemon *Daemon) DeactivateContainerServiceBinding(containerName string) er
}
sb := daemon.getNetworkSandbox(container)
if sb == nil {
return fmt.Errorf("network sandbox not exists for container %s", containerName)
return fmt.Errorf("network sandbox does not exist for container %s", containerName)
}
return sb.DisableService()
}