mirror of https://github.com/status-im/consul.git
Adds a log warning when operator peer changes occur.
This commit is contained in:
parent
0558b9c44b
commit
3f16142b40
|
@ -113,8 +113,11 @@ REMOVE:
|
|||
// pass.
|
||||
future := op.srv.raft.RemovePeer(args.Address)
|
||||
if err := future.Error(); err != nil {
|
||||
op.srv.logger.Printf("[WARN] consul.operator: Failed to remove Raft peer %q: %v",
|
||||
args.Address, err)
|
||||
return err
|
||||
}
|
||||
|
||||
op.srv.logger.Printf("[WARN] consul.operator: Removed Raft peer %q by", args.Address)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue