1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Merge pull request #28841 from justincormack/sandbox-error

Fix grammar on error message
Upstream-commit: 7dcd7b8ec5ddb49c812be3bc19e4039e52646f8c
Component: engine
This commit is contained in:
Doug Davis
2016-11-25 11:54:36 -05:00
committed by GitHub

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()
}