fix nit in comments

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 847de59934bd1f9134b235ce70a5c2e1085a470e
Component: engine
This commit is contained in:
allencloud
2017-01-08 21:32:30 +08:00
parent dcda437eae
commit aa92b07a0f
@@ -410,7 +410,7 @@ func (daemon *Daemon) findAndAttachNetwork(container *container.Container, idOrN
return n, config, nil
}
// updateContainerNetworkSettings update the network settings
// updateContainerNetworkSettings updates the network settings
func (daemon *Daemon) updateContainerNetworkSettings(container *container.Container, endpointsConfig map[string]*networktypes.EndpointSettings) {
var n libnetwork.Network
@@ -1035,7 +1035,7 @@ func (daemon *Daemon) ActivateContainerServiceBinding(containerName string) erro
return sb.EnableService()
}
// DeactivateContainerServiceBinding remove this container fromload balancer active rotation, and DNS response
// DeactivateContainerServiceBinding removes this container from load balancer active rotation, and DNS response
func (daemon *Daemon) DeactivateContainerServiceBinding(containerName string) error {
container, err := daemon.GetContainer(containerName)
if err != nil {