File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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}" ) )
Original file line number Diff line number Diff 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}" ) )
You can’t perform that action at this time.
0 commit comments