pkg/mesh: small change for clarity
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit is contained in:
parent
ac7fa37fd0
commit
5e970d8b42
@ -770,7 +770,7 @@ func isSelf(hostname string, node *Node) bool {
|
||||
}
|
||||
|
||||
func nodesAreEqual(a, b *Node) bool {
|
||||
if !(a != nil) == (b != nil) {
|
||||
if (a != nil) != (b != nil) {
|
||||
return false
|
||||
}
|
||||
if a == b {
|
||||
|
Loading…
Reference in New Issue
Block a user