Skip to content

Commit 77fc789

Browse files
fix clippy lints on agg mode
1 parent 00d5338 commit 77fc789

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aggregation_mode/gateway/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl GatewayMetrics {
3838

3939
let mut buffer = Vec::new();
4040
if let Err(e) = encoder.encode(&registry.gather(), &mut buffer) {
41-
eprintln!("could not encode prometheus metrics: {}", e);
41+
eprintln!("could not encode prometheus metrics: {e}");
4242
};
4343
let res = String::from_utf8(buffer.clone())
4444
.inspect_err(|e| eprintln!("prometheus metrics could not be parsed correctly: {e}"))

aggregation_mode/payments_poller/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl PaymentsPollerMetrics {
3838

3939
let mut buffer = Vec::new();
4040
if let Err(e) = encoder.encode(&registry.gather(), &mut buffer) {
41-
eprintln!("could not encode prometheus metrics: {}", e);
41+
eprintln!("could not encode prometheus metrics: {e}");
4242
};
4343
let res = String::from_utf8(buffer.clone())
4444
.inspect_err(|e| eprintln!("prometheus metrics could not be parsed correctly: {e}"))

0 commit comments

Comments
 (0)