Skip to content

Commit 4d3dc09

Browse files
committed
remove obsolete errors
1 parent d8ef2c2 commit 4d3dc09

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,6 @@ pub enum Error {
131131
#[snafu(display("object defines no metastore role"))]
132132
NoMetaStoreRole,
133133

134-
#[snafu(display("failed to calculate service name for role {rolegroup}"))]
135-
RoleGroupServiceNameNotFound {
136-
rolegroup: RoleGroupRef<v1alpha1::HiveCluster>,
137-
},
138-
139-
#[snafu(display("failed to apply global Service"))]
140-
ApplyRoleService {
141-
source: stackable_operator::cluster_resources::Error,
142-
},
143-
144134
#[snafu(display("failed to apply Service for {rolegroup}"))]
145135
ApplyRoleGroupService {
146136
source: stackable_operator::cluster_resources::Error,
@@ -198,9 +188,6 @@ pub enum Error {
198188
source: stackable_operator::crd::s3::v1alpha1::ConnectionError,
199189
},
200190

201-
#[snafu(display("failed to configure S3 TLS client details"))]
202-
ConfigureS3TlsClientDetails { source: TlsClientDetailsError },
203-
204191
#[snafu(display(
205192
"Hive does not support skipping the verification of the tls enabled S3 server"
206193
))]
@@ -209,15 +196,6 @@ pub enum Error {
209196
#[snafu(display("failed to resolve and merge resource config for role and role group"))]
210197
FailedToResolveResourceConfig { source: crate::crd::Error },
211198

212-
#[snafu(display("invalid java heap config - missing default or value in crd?"))]
213-
InvalidJavaHeapConfig,
214-
215-
#[snafu(display("failed to convert java heap config to unit [{unit}]"))]
216-
FailedToConvertJavaHeap {
217-
source: stackable_operator::memory::Error,
218-
unit: String,
219-
},
220-
221199
#[snafu(display("failed to create hive container [{name}]"))]
222200
FailedToCreateHiveContainer {
223201
source: stackable_operator::builder::pod::container::Error,
@@ -258,9 +236,6 @@ pub enum Error {
258236
source: stackable_operator::commons::rbac::Error,
259237
},
260238

261-
#[snafu(display("internal operator failure"))]
262-
InternalOperatorError { source: crate::crd::Error },
263-
264239
#[snafu(display(
265240
"failed to serialize [{JVM_SECURITY_PROPERTIES_FILE}] for {}",
266241
rolegroup
@@ -280,16 +255,6 @@ pub enum Error {
280255
source: crate::operations::graceful_shutdown::Error,
281256
},
282257

283-
#[snafu(display("failed to build TLS certificate SecretClass Volume"))]
284-
TlsCertSecretClassVolumeBuild {
285-
source: stackable_operator::builder::pod::volume::SecretOperatorVolumeSourceBuilderError,
286-
},
287-
288-
#[snafu(display("failed to build S3 credentials SecretClass Volume"))]
289-
S3CredentialsSecretClassVolumeBuild {
290-
source: stackable_operator::commons::secret_class::SecretClassVolumeError,
291-
},
292-
293258
#[snafu(display("failed to build Labels"))]
294259
LabelBuild {
295260
source: stackable_operator::kvp::LabelError,
@@ -306,13 +271,6 @@ pub enum Error {
306271
stackable_operator::kvp::KeyValuePairError<stackable_operator::kvp::LabelValueError>,
307272
},
308273

309-
#[snafu(display(
310-
"there was an error adding LDAP Volumes and VolumeMounts to the Pod and Containers"
311-
))]
312-
AddLdapVolumes {
313-
source: stackable_operator::crd::authentication::ldap::v1alpha1::Error,
314-
},
315-
316274
#[snafu(display("failed to add kerberos config"))]
317275
AddKerberosConfig { source: kerberos::Error },
318276

0 commit comments

Comments
 (0)