Skip to content

Commit 6c616a1

Browse files
committed
remove unused error def/function
1 parent 74bfc29 commit 6c616a1

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

rust/operator-binary/src/crd/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -549,18 +549,6 @@ impl v1alpha1::HbaseCluster {
549549
}
550550
.to_string()
551551
}
552-
553-
pub fn rolegroup_ref(
554-
&self,
555-
role_name: impl Into<String>,
556-
group_name: impl Into<String>,
557-
) -> RoleGroupRef<v1alpha1::HbaseCluster> {
558-
RoleGroupRef {
559-
cluster: ObjectRef::from_obj(self),
560-
role: role_name.into(),
561-
role_group: group_name.into(),
562-
}
563-
}
564552
}
565553

566554
pub fn merged_env(rolegroup_config: Option<&BTreeMap<String, String>>) -> Vec<EnvVar> {

rust/operator-binary/src/hbase_controller.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,6 @@ pub enum Error {
327327
source: stackable_operator::kvp::LabelError,
328328
},
329329

330-
#[snafu(display("cannot collect discovery configuration"))]
331-
CollectDiscoveryConfig { source: crate::crd::Error },
332-
333330
#[snafu(display("failed to build listener volume"))]
334331
BuildListenerVolume {
335332
source: ListenerOperatorVolumeSourceBuilderError,

0 commit comments

Comments
 (0)