merlimat commented on a change in pull request #6027: [Issue 5999] Support
create/update tenant with empty cluster
URL: https://github.com/apache/pulsar/pull/6027#discussion_r367183846
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/TenantsBase.java
##########
@@ -220,10 +222,21 @@ public void deleteTenant(
}
}
+ private Set<String> getNonBlankClusters(Set<String> allowedClusters) {
Review comment:
What's the purpose of this check?
If a caller passes a list like `["", ""]` the request will fail because the
empty string is not a valid cluster in `allowedClusters`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services