diff --git a/libnetwork/service_common.go b/libnetwork/service_common.go index 5ff9809d30ebc5869d29804f2be8d1683c189f2d..0cf9a52ebebee1033946986a6b5f5adbedf58df4 100644 --- a/libnetwork/service_common.go +++ b/libnetwork/service_common.go @@ -228,8 +228,8 @@ func (c *Controller) addServiceBinding(svcName, svcID, nID, eID, containerName s var addService bool // Failure to lock the network ID on add can result in racing - // racing against network deletion resulting in inconsistent - // state in the c.serviceBindings map and it's sub-maps. Also, + // against network deletion resulting in inconsistent state + // in the c.serviceBindings map and it's sub-maps. Also, // always lock network ID before services to avoid deadlock. c.networkLocker.Lock(nID) defer c.networkLocker.Unlock(nID) //nolint:errcheck