mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
Merge pull request #51557 from robmry/replace_lock_in_remote_nw_driver
Remote nw driver: restore missing nwEndpointsMu.Lock
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