feat(app): Add hostname label to http metrics #726
Annotations
5 errors
Run just clippy:
linkerd/app/outbound/src/http/logical/policy/route.rs#L136
error: returning the result of a `let` binding from a block
--> linkerd/app/outbound/src/http/logical/policy/route.rs:137:21
|
136 | let layer = retry::NewHttpRetry::layer_via_mk(mk_extract, metrics);
| ------------------------------------------------------------------- unnecessary `let` binding
137 | layer
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-D clippy::let-and-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
136 ~
137 ~ retry::NewHttpRetry::layer_via_mk(mk_extract, metrics)
|
|
Run just clippy:
linkerd/app/outbound/src/http/logical/policy/route.rs#L137
error: returning the result of a `let` binding from a block
--> linkerd/app/outbound/src/http/logical/policy/route.rs:137:21
|
136 | let layer = retry::NewHttpRetry::layer_via_mk(mk_extract, metrics);
| ------------------------------------------------------------------- unnecessary `let` binding
137 | layer
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-D clippy::let-and-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
136 ~
137 ~ retry::NewHttpRetry::layer_via_mk(mk_extract, metrics)
|
|
Run just clippy:
linkerd/app/outbound/src/http/logical/policy/route.rs#L136
error: returning the result of a `let` binding from a block
--> linkerd/app/outbound/src/http/logical/policy/route.rs:137:21
|
136 | let layer = retry::NewHttpRetry::layer_via_mk(mk_extract, metrics);
| ------------------------------------------------------------------- unnecessary `let` binding
137 | layer
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-D clippy::let-and-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
136 ~
137 ~ retry::NewHttpRetry::layer_via_mk(mk_extract, metrics)
|
|
Run just clippy:
linkerd/app/outbound/src/http/logical/policy/route.rs#L137
error: returning the result of a `let` binding from a block
--> linkerd/app/outbound/src/http/logical/policy/route.rs:137:21
|
136 | let layer = retry::NewHttpRetry::layer_via_mk(mk_extract, metrics);
| ------------------------------------------------------------------- unnecessary `let` binding
137 | layer
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-D clippy::let-and-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
136 ~
137 ~ retry::NewHttpRetry::layer_via_mk(mk_extract, metrics)
|
|
Run just clippy
Process completed with exit code 1.
|
Loading