Skip to content

Commit 4cf40c4

Browse files
committed
Making clippy happy
1 parent 04558d9 commit 4cf40c4

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use std::{
44
borrow::Cow,
55
collections::{BTreeMap, HashMap},
6-
default,
76
hash::Hasher,
87
sync::Arc,
98
};
@@ -39,10 +38,7 @@ use stackable_operator::{
3938
tls_verification::TlsClientDetailsError,
4039
},
4140
crd::{
42-
listener::{
43-
self,
44-
v1alpha1::{Listener, ListenerPort, ListenerSpec},
45-
},
41+
listener::v1alpha1::{Listener, ListenerPort, ListenerSpec},
4642
s3,
4743
},
4844
k8s_openapi::{

rust/operator-binary/src/discovery.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ use snafu::{OptionExt, ResultExt, Snafu};
44
use stackable_operator::{
55
builder::{configmap::ConfigMapBuilder, meta::ObjectMetaBuilder},
66
commons::product_image_selection::ResolvedProductImage,
7-
k8s_openapi::api::core::v1::{ConfigMap, Endpoints, Service, ServiceSpec},
7+
k8s_openapi::api::core::v1::{ConfigMap, Endpoints, Service},
88
kube::{Resource, runtime::reflector::ObjectRef},
99
};
1010

1111
use crate::{
1212
controller::build_recommended_labels,
13-
crd::{HIVE_PORT, HIVE_PORT_NAME, HiveRole, ServiceType, v1alpha1},
13+
crd::{HIVE_PORT, HIVE_PORT_NAME, HiveRole, v1alpha1},
1414
};
1515

1616
#[derive(Snafu, Debug)]

0 commit comments

Comments
 (0)