Skip to content

Commit

Permalink
Spotless fix
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Singh <surajrider@gmail.com>
  • Loading branch information
dreamer-89 committed Jan 27, 2023
1 parent 64d00b8 commit 229f6d1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,11 @@ private void getFiles(CheckpointInfoResponse checkpointInfo, StepListener<GetSeg
if (diff.different.isEmpty() == false) {
getFilesListener.onFailure(
new IllegalStateException(
new ParameterizedMessage("Shard {} has local copies of segments that differ from the primary {}", indexShard.shardId(), diff.different)
.getFormattedMessage()
new ParameterizedMessage(
"Shard {} has local copies of segments that differ from the primary {}",
indexShard.shardId(),
diff.different
).getFormattedMessage()
)
);
}
Expand Down

0 comments on commit 229f6d1

Please sign in to comment.