Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Rishab Nahata <[email protected]>
  • Loading branch information
imRishN committed Dec 2, 2022
1 parent 8364af3 commit f5e1b94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void ensureDecommissionedAttributeHasZeroWeight(ClusterState state, Clust
}
if (Objects.equals(weightedRouting.weights().get(decommissionAttribute.attributeValue()), 0.0) == false) {
throw new IllegalStateException(
"weight for [" + decommissionAttribute.attributeValue() + "] must be set to [0.0] as it is under decommission action"
"weight for [" + decommissionAttribute.attributeValue() + "] must be set to [0] as it is under decommission action"
);
}
}
Expand Down

0 comments on commit f5e1b94

Please sign in to comment.