suneet-s commented on code in PR #15274:
URL: https://github.com/apache/druid/pull/15274#discussion_r1376237162
##########
server/src/main/java/org/apache/druid/server/coordinator/rules/LoadRule.java:
##########
@@ -86,10 +108,17 @@ private static void validateTieredReplicants(final
Map<String, Integer> tieredRe
{
for (Map.Entry<String, Integer> entry : tieredReplicants.entrySet()) {
if (entry.getValue() == null) {
- throw InvalidInput.exception("Invalid number of replicas for tier
[%s]. Value must not be null.", entry.getKey());
+ throw InvalidInput.exception(
+ "Invalid number of replicas for tier [%s]. Value must not be
null.",
+ entry.getKey()
+ );
}
if (entry.getValue() < 0) {
- throw InvalidInput.exception("Invalid number of replicas for tier
[%s]. Value [%d] must be positive.", entry.getKey(), entry.getValue());
+ throw InvalidInput.exception(
+ "Invalid number of replicas for tier [%s]. Value [%d] must be
positive.",
+ entry.getKey(),
+ entry.getValue()
+ );
Review Comment:
Only formatting changes in this function
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]