Searched refs:last_slot_idx (Results 1 – 1 of 1) sorted by relevance
2591 int first_range_idx = -1, last_slot_idx = -1, i; in clusterManagerNodeSlotsString() local2600 last_slot_idx = i; in clusterManagerNodeSlotsString()2602 if (last_slot_idx >= 0) { in clusterManagerNodeSlotsString()2603 if (first_range_idx == last_slot_idx) in clusterManagerNodeSlotsString()2605 else slots = sdscatfmt(slots, "-%u]", last_slot_idx); in clusterManagerNodeSlotsString()2607 last_slot_idx = -1; in clusterManagerNodeSlotsString()2611 if (last_slot_idx >= 0) { in clusterManagerNodeSlotsString()2612 if (first_range_idx == last_slot_idx) slots = sdscat(slots, "]"); in clusterManagerNodeSlotsString()2613 else slots = sdscatfmt(slots, "-%u]", last_slot_idx); in clusterManagerNodeSlotsString()