chore(instrumentation): Reduce noise from instrumented functions #115
Annotations
9 errors
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
pre-commit
Process completed with exit code 1.
|