Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Anshu Agarwal <[email protected]>
  • Loading branch information
Anshu Agarwal committed Sep 26, 2022
1 parent 3a0b0ff commit 703d918
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ protected void clusterManagerOperation(
}

private void verifyAwarenessAttribute(String attributeName) {
// Currently, only zone is supported
if (!getAwarenessAttributes().contains(attributeName) || !attributeName.equalsIgnoreCase("zone")) {
if (getAwarenessAttributes().contains(attributeName) == false) {
ActionRequestValidationException validationException = null;

validationException = addValidationError(
Expand Down

0 comments on commit 703d918

Please sign in to comment.