diff --git a/weed/server/raft_server.go b/weed/server/raft_server.go index a35659818..8b2ad3540 100644 --- a/weed/server/raft_server.go +++ b/weed/server/raft_server.go @@ -144,7 +144,7 @@ func isPeersChanged(dir string, self string, peers []string) (oldPeers []string, sort.Strings(peers) sort.Strings(oldPeers) - return oldPeers, reflect.DeepEqual(peers, oldPeers) + return oldPeers, !reflect.DeepEqual(peers, oldPeers) }