Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
  • Loading branch information
Anshu Agarwal committed Oct 6, 2022
1 parent a4fe992 commit 5321b95
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,7 @@ public ClusterState execute(ClusterState currentState) {

@Override
public void onFailure(String source, Exception e) {
logger.error(
() -> new ParameterizedMessage(
"failed to remove weighted routing metadata from cluster state with an exception [{}]",
e
)
);
logger.error("failed to remove weighted routing metadata from cluster state", e);
listener.onFailure(e);
}

Expand Down

0 comments on commit 5321b95

Please sign in to comment.