Explorar el Código

Merge pull request #1332 from coolljt0725/remove_ip_endpoint

ipvlan: remove endpoint from network on deleting endpoint
Alessandro Boch hace 9 años
padre
commit
ae3f09faeb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libnetwork/drivers/ipvlan/ipvlan_endpoint.go

+ 1 - 1
libnetwork/drivers/ipvlan/ipvlan_endpoint.go

@@ -82,6 +82,6 @@ func (d *driver) DeleteEndpoint(nid, eid string) error {
 	if err := d.storeDelete(ep); err != nil {
 		logrus.Warnf("Failed to remove ipvlan endpoint %s from store: %v", ep.id[0:7], err)
 	}
-
+	n.deleteEndpoint(ep.id)
 	return nil
 }