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

Merge pull request #29981 from allencloud/fix-nits-in-comments

fix nit in comments
This commit is contained in:
Doug Davis 2017-01-08 09:34:43 -05:00 committed by GitHub
commit b532e15036

View file

@ -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 {