Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
morenol committed May 9, 2024
1 parent b0d512f commit 455f819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/k8-client/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ mod executor {

use fluvio_future::task::spawn;

#[allow(dead_code)]
pub(crate) struct FluvioHyperExecutor;

impl<F: Future + Send + 'static> Executor<F> for FluvioHyperExecutor {
Expand Down
2 changes: 1 addition & 1 deletion src/k8-types/src/core/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Spec for ServiceSpec {

fn make_same(&mut self, other: &Self) {
if other.cluster_ip.is_empty() {
self.cluster_ip = "".to_owned();
"".clone_into(&mut self.cluster_ip);
}
}
}
Expand Down

0 comments on commit 455f819

Please sign in to comment.