mirror of
https://github.com/moby/moby.git
synced 2026-08-04 23:21:00 +00:00
Restore missing nwEndpointsMu.Lock
- introduced by 4f7afb8 (Remove libnet's logic to track a driver's
port mapping state)
Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -415,6 +415,7 @@ func (d *driver) ProgramExternalConnectivity(_ context.Context, nid, eid string,
|
||||
|
||||
// revokeExternalConnectivity method is invoked to remove any external connectivity programming related to the endpoint.
|
||||
func (d *driver) revokeExternalConnectivity(nid, eid string) error {
|
||||
d.nwEndpointsMu.Lock()
|
||||
ep, ok := d.nwEndpoints[eid]
|
||||
d.nwEndpointsMu.Unlock()
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user