Skip to content

Commit 11e6d9c

Browse files
committed
remove else
Signed-off-by: adi_holden <[email protected]>
1 parent 8da5df6 commit 11e6d9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/server/cluster/cluster_config.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,8 @@ ClusterNodeInfo ClusterConfig::GetMasterNodeForSlot(SlotId id) const {
365365
}
366366
}
367367
}
368-
} else {
369-
return shard.master;
370368
}
369+
return shard.master;
371370
}
372371
}
373372

0 commit comments

Comments
 (0)