1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-20 17:40:50 +00:00

Fix code format issue.

This commit is contained in:
dejun.xdj 2018-06-28 18:39:42 +08:00
parent 7becf54e51
commit bbd0ca9522

@ -4879,9 +4879,9 @@ static int clusterManagerCommandRebalance(int argc, char **argv) {
n->weight);
n->balance = n->slots_count - expected;
total_balance += n->balance;
/* Compute the percentage of difference between the
* expected number of slots and the real one, to see
* if it's over the threshold specified by the user. */
/* Compute the percentage of difference between the
* expected number of slots and the real one, to see
* if it's over the threshold specified by the user. */
int over_threshold = 0;
if (threshold > 0) {
if (n->slots_count > 0) {