Skip to content

Commit

Permalink
fix log format
Browse files Browse the repository at this point in the history
  • Loading branch information
justinweng-instaclustr committed Oct 4, 2024
1 parent c6c63c2 commit 57a8a03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shotover/src/transforms/kafka/sink_cluster/shotover_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ async fn check_shotover_peers(
shotover_peer.set_state(ShotoverNodeState::Up);
}
Err(_) => {
tracing::warn!("Shotover peer {:?} is down", shotover_peer.address);
tracing::warn!(
"Shotover peer {} is down",
shotover_peer.address.to_string()
);
shotover_peer.set_state(ShotoverNodeState::Down);
}
}
Expand Down

0 comments on commit 57a8a03

Please sign in to comment.