Skip to content

Commit

Permalink
Logger format calls should use {}
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Dec 10, 2024
1 parent 17b099e commit 1a612a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private String getRollupIndexName() throws IOException {
if (asMap.size() == 1) {
return (String) asMap.keySet().toArray()[0];
}
logger.warn("--> No matching rollup name for path [%s]", endpoint);
logger.warn("--> No matching rollup name for path [{}]", endpoint);
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private String getRollupIndexName() throws IOException {
if (asMap.size() == 1) {
return (String) asMap.keySet().toArray()[0];
}
logger.warn("--> No matching rollup name for path [%s]", endpoint);
logger.warn("--> No matching rollup name for path [{}}]", endpoint);
return null;
}

Expand Down

0 comments on commit 1a612a8

Please sign in to comment.