Skip to content

Commit

Permalink
code review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Sep 13, 2020
1 parent a2997a2 commit 6f349f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ func (c *Cluster) Ping(ping *ClusterPing, unused *bool) error {
if node.fingerprint == 0 {
// This is the first connection to remote node.
node.fingerprint = ping.Fingerprint
} else if node.fingerprint == ping.Fingerprint {
} else if node.fingerprint != ping.Fingerprint {
// Remote node restarted.
node.fingerprint = ping.Fingerprint
c.invalidateProxySubs(ping.Node)
Expand Down

0 comments on commit 6f349f7

Please sign in to comment.