Skip to content

Commit 2996642

Browse files
authored
MINOR: Fix error message in SnapshotWriter.java (#9862)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent bed4c6a commit 2996642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raft/src/main/java/org/apache/kafka/snapshot/SnapshotWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public boolean isFrozen() {
107107
public void append(List<T> records) throws IOException {
108108
if (snapshot.isFrozen()) {
109109
String message = String.format(
110-
"Append not supported. Snapshot is already frozen: id = {}.",
110+
"Append not supported. Snapshot is already frozen: id = '%s'.",
111111
snapshot.snapshotId()
112112
);
113113

0 commit comments

Comments
 (0)