Skip to content

Commit 41819bb

Browse files
committed
remove unused functions
1 parent e950a5a commit 41819bb

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ use stackable_operator::{
3838
schemars::{self, JsonSchema},
3939
status::condition::{ClusterCondition, HasStatusCondition},
4040
time::Duration,
41-
utils::{
42-
cluster_info::KubernetesClusterInfo,
43-
crds::{raw_object_list_schema, raw_object_schema},
44-
},
41+
utils::crds::{raw_object_list_schema, raw_object_schema},
4542
versioned::versioned,
4643
};
4744
use tls::NifiTls;
@@ -201,21 +198,6 @@ impl v1alpha1::NifiCluster {
201198
rolegroup.object_name()
202199
}
203200

204-
/// The name of the role-level load-balanced Kubernetes `Service`
205-
pub fn node_role_service_name(&self) -> String {
206-
self.name_any()
207-
}
208-
209-
/// The fully-qualified domain name of the role-level load-balanced Kubernetes `Service`
210-
pub fn node_role_service_fqdn(&self, cluster_info: &KubernetesClusterInfo) -> Option<String> {
211-
Some(format!(
212-
"{}.{}.svc.{}",
213-
self.node_role_service_name(),
214-
self.metadata.namespace.as_ref()?,
215-
cluster_info.cluster_domain,
216-
))
217-
}
218-
219201
/// Metadata about a metastore rolegroup
220202
pub fn node_rolegroup_ref(&self, group_name: impl Into<String>) -> RoleGroupRef<Self> {
221203
RoleGroupRef {

0 commit comments

Comments
 (0)