Skip to content

Commit f9814bb

Browse files
committed
fixing formatting in logs
Signed-off-by: salaboy <[email protected]>
1 parent c9c010b commit f9814bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/io/dapr/durabletask/TaskOrchestrationExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ private boolean shouldRetry() {
11881188
}
11891189

11901190
private boolean shouldRetryBasedOnPolicy() {
1191-
logger.warning(this.attemptNumber + " retries out of total %d performed " + this.policy.getMaxNumberOfAttempts());
1191+
logger.warning(() -> String.format(this.attemptNumber + " retries out of total %d performed " + this.policy.getMaxNumberOfAttempts()));
11921192

11931193
if (this.attemptNumber >= this.policy.getMaxNumberOfAttempts()) {
11941194
// Max number of attempts exceeded

0 commit comments

Comments
 (0)