Skip to content

Commit

Permalink
[fix][admin] Fix typo in validation message (apache#16021)
Browse files Browse the repository at this point in the history
  • Loading branch information
visortelle authored Jun 13, 2022
1 parent f7635ec commit 8d8a19f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ protected void validatePersistencePolicies(PersistencePolicies persistence) {
checkArgument(
(persistence.getBookkeeperEnsemble() >= persistence.getBookkeeperWriteQuorum())
&& (persistence.getBookkeeperWriteQuorum() >= persistence.getBookkeeperAckQuorum()),
String.format("Bookkeeper Ensemble (%s) >= WriteQuorum (%s) >= AckQuoru (%s)",
String.format("Bookkeeper Ensemble (%s) >= WriteQuorum (%s) >= AckQuorum (%s)",
persistence.getBookkeeperEnsemble(), persistence.getBookkeeperWriteQuorum(),
persistence.getBookkeeperAckQuorum()));

Expand Down Expand Up @@ -851,4 +851,4 @@ protected static String getPartitionedTopicNotFoundErrorMessage(String topic) {
protected static String getSubNotFoundErrorMessage(String topic, String subscription) {
return String.format("Subscription %s not found for topic %s", subscription, topic);
}
}
}

0 comments on commit 8d8a19f

Please sign in to comment.