mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Allow the memberlist shutdown even if networkdb leave fails
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
0c81548c8c
commit
d1f6eb1812
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ func (nDB *NetworkDB) clusterLeave() error {
|
|||
mlist := nDB.memberlist
|
||||
|
||||
if err := nDB.sendNodeEvent(NodeEventTypeLeave); err != nil {
|
||||
return fmt.Errorf("failed to send node leave: %v", err)
|
||||
logrus.Errorf("failed to send node leave: %v", err)
|
||||
}
|
||||
|
||||
if err := mlist.Leave(time.Second); err != nil {
|
||||
|
|
Loading…
Reference in a new issue