Skip to content

runtime: rename references from Flatten to Filter where necessary #2385

runtime: rename references from Flatten to Filter where necessary

runtime: rename references from Flatten to Filter where necessary #2385

Triggered via pull request June 13, 2024 21:32
@cluxclux
synchronize #1520
flatten-rename
Status Success
Total duration 9m 23s
Artifacts

coverage.yml

on: pull_request
tarpaulin-codecov
9m 14s
tarpaulin-codecov
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
tarpaulin-codecov
ENOENT: no such file or directory, opendir '/home/runner/work/kube/kube/target/tests/target'
tarpaulin-codecov
Error: ENOENT: no such file or directory, opendir '/home/runner/work/kube/kube/target/tests/target'
unused import: `stream::Stream`: kube-client/src/client/body.rs#L9
warning: unused import: `stream::Stream` --> kube-client/src/client/body.rs:9:15 | 9 | use futures::{stream::Stream, TryStreamExt}; | ^^^^^^^^^^^^^^
unused import: `TryStreamExt`: kube-client/src/client/body.rs#L9
warning: unused import: `TryStreamExt` --> kube-client/src/client/body.rs:9:31 | 9 | use futures::{stream::Stream, TryStreamExt}; | ^^^^^^^^^^^^
use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead: kube-client/src/client/config_ext.rs#L236
warning: use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead --> kube-client/src/client/config_ext.rs:236:31 | 236 | builder = builder.with_server_name(tsn.clone()); | ^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
unused import: `BodyStream`: kube-client/src/client/body.rs#L11
warning: unused import: `BodyStream` --> kube-client/src/client/body.rs:11:59 | 11 | use http_body_util::{combinators::UnsyncBoxBody, BodyExt, BodyStream}; | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
doc list item missing indentation: kube-derive/src/lib.rs#L219
warning: doc list item missing indentation --> kube-derive/src/lib.rs:219:5 | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ++
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L33
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:33:15 | 33 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default help: replace it with | 33 ~ #[darling(default)] 34 ~ crates.unwrap_or_default())] |
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L20
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:20:15 | 20 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default help: replace it with | 20 ~ #[darling(default)] 21 ~ namespaced.unwrap_or_default())] |
doc list item missing indentation: kube-derive/src/lib.rs#L219
warning: doc list item missing indentation --> kube-derive/src/lib.rs:219:5 | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ++
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L33
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:33:15 | 33 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default help: replace it with | 33 ~ #[darling(default)] 34 ~ crates.unwrap_or_default())] |
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L20
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:20:15 | 20 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default help: replace it with | 20 ~ #[darling(default)] 21 ~ namespaced.unwrap_or_default())] |