Skip to content

Commit

Permalink
bugfix: aoss result predicate not used
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Kao <[email protected]>
  • Loading branch information
seankao-az committed Dec 9, 2024
1 parent ef91746 commit 1942b80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public <T> RetryPolicy<T> getRetryPolicy() {
// Logging listener
.onFailedAttempt(FlintRetryOptions::onFailure)
.onRetry(FlintRetryOptions::onRetry);
if (getServiceName() == SERVICE_NAME_AOSS) {
if (SERVICE_NAME_AOSS.equals(getServiceName())) {
builder.handleResultIf(new HttpAOSSResultPredicate<>());
}
return builder.build();
Expand Down

0 comments on commit 1942b80

Please sign in to comment.