Skip to content

Commit

Permalink
chore: adjust format according to rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
etolbakov committed Jul 11, 2023
1 parent e627883 commit ffc90ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/servers/src/prometheus.rs
Expand Up @@ -105,10 +105,7 @@ impl PrometheusServer {
.with_state(self.query_handler.clone());

Router::new()
.nest(
&format!("/api/{PROMETHEUS_API_VERSION}"),
router,
)
.nest(&format!("/api/{PROMETHEUS_API_VERSION}"), router)
// middlewares
.layer(
ServiceBuilder::new()
Expand Down

0 comments on commit ffc90ae

Please sign in to comment.