Skip to content

Commit da98b0f

Browse files
fix: Use correct string formatting for log message (#668)
1 parent a6ba47f commit da98b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/internal/wire/PartitionCountWatchingPublisher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void handleConfig(long partitionCount) {
184184
}
185185
if (partitionCount < currentSize) {
186186
log.atWarning().log(
187-
"Received an unexpected decrease in partition count. Previous partition count {}, new count {}",
187+
"Received an unexpected decrease in partition count. Previous partition count %s, new count %s",
188188
currentSize,
189189
partitionCount);
190190
return;

0 commit comments

Comments
 (0)