mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #1347 from sanimej/sd
Update service DB on deletion of containers in bridge networks
This commit is contained in:
commit
5fee2c5be9
1 changed files with 1 additions and 3 deletions
|
@ -776,9 +776,7 @@ func (ep *endpoint) Delete(force bool) error {
|
|||
}()
|
||||
|
||||
// unwatch for service records
|
||||
if !n.getController().isAgent() {
|
||||
n.getController().unWatchSvcRecord(ep)
|
||||
}
|
||||
n.getController().unWatchSvcRecord(ep)
|
||||
|
||||
if err = ep.deleteEndpoint(force); err != nil && !force {
|
||||
return err
|
||||
|
|
Loading…
Add table
Reference in a new issue