Skip to content

Commit ed4379f

Browse files
committed
chore: remove obsolete error variants
1 parent 12f152e commit ed4379f

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ pub mod tpch;
1212

1313
use async_trait::async_trait;
1414
use snafu::Snafu;
15-
use stackable_operator::{
16-
client::Client, commons::tls_verification::TlsClientDetailsError,
17-
v2::types::kubernetes::NamespaceName,
18-
};
15+
use stackable_operator::{client::Client, v2::types::kubernetes::NamespaceName};
1916

2017
use self::config::CatalogConfig;
2118

@@ -27,9 +24,6 @@ pub enum FromTrinoCatalogError {
2724
source: stackable_operator::crd::s3::v1alpha1::ConnectionError,
2825
},
2926

30-
#[snafu(display("failed to configure S3 TLS client details"))]
31-
ConfigureS3TlsClientDetails { source: TlsClientDetailsError },
32-
3327
#[snafu(display("trino does not support disabling the TLS verification of S3 servers"))]
3428
S3TlsNoVerificationNotSupported,
3529

@@ -58,11 +52,6 @@ pub enum FromTrinoCatalogError {
5852
data_key: String,
5953
},
6054

61-
#[snafu(display("failed to create the Secret Volume for the S3 credentials"))]
62-
CreateS3CredentialsSecretOperatorVolume {
63-
source: stackable_operator::builder::pod::volume::SecretOperatorVolumeSourceBuilderError,
64-
},
65-
6655
#[snafu(display("failed to get PostgreSQL connection details"))]
6756
GetPostgresConnectionDetails {
6857
source: stackable_operator::database_connections::Error,

rust/operator-binary/src/controller/build/resource/statefulset.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,11 @@ pub enum Error {
9494
source: build::graceful_shutdown::Error,
9595
},
9696

97-
#[snafu(display("failed to build Labels"))]
98-
LabelBuild {
99-
source: stackable_operator::kvp::LabelError,
100-
},
101-
10297
#[snafu(display("failed to build Annotation"))]
10398
AnnotationBuild {
10499
source: stackable_operator::kvp::KeyValuePairError<Infallible>,
105100
},
106101

107-
#[snafu(display("failed to build Metadata"))]
108-
MetadataBuild {
109-
source: stackable_operator::builder::meta::Error,
110-
},
111-
112102
#[snafu(display("failed to build TLS certificate SecretClass Volume"))]
113103
TlsCertSecretClassVolumeBuild {
114104
source: stackable_operator::builder::pod::volume::SecretOperatorVolumeSourceBuilderError,

0 commit comments

Comments
 (0)