Skip to content

Commit ce34efa

Browse files
committed
fix: remove obsolete errors
1 parent 16f6693 commit ce34efa

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

rust/operator-binary/src/airflow_controller.rs

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ use stackable_operator::{
3636
random_secret_creation,
3737
rbac::build_rbac_resources,
3838
},
39-
crd::{
40-
authentication::{core as auth_core, ldap},
41-
git_sync, listener,
42-
},
39+
crd::{authentication::ldap, git_sync, listener},
4340
database_connections::{
4441
TemplatingMechanism,
4542
drivers::{
@@ -136,11 +133,6 @@ pub enum Error {
136133
#[snafu(display("object defines no airflow config role"))]
137134
NoAirflowRole,
138135

139-
#[snafu(display("failed to apply global Service"))]
140-
ApplyRoleService {
141-
source: stackable_operator::cluster_resources::Error,
142-
},
143-
144136
#[snafu(display("failed to apply Service for {rolegroup}"))]
145137
ApplyRoleGroupService {
146138
source: stackable_operator::cluster_resources::Error,
@@ -189,21 +181,6 @@ pub enum Error {
189181
source: stackable_operator::commons::rbac::Error,
190182
},
191183

192-
#[snafu(display("failed to retrieve AuthenticationClass {authentication_class}"))]
193-
AuthenticationClassRetrieval {
194-
source: stackable_operator::cluster_resources::Error,
195-
authentication_class: ObjectRef<auth_core::v1alpha1::AuthenticationClass>,
196-
},
197-
198-
#[snafu(display(
199-
"Airflow doesn't support the AuthenticationClass provider
200-
{authentication_class_provider} from AuthenticationClass {authentication_class}"
201-
))]
202-
AuthenticationClassProviderNotSupported {
203-
authentication_class_provider: String,
204-
authentication_class: ObjectRef<auth_core::v1alpha1::AuthenticationClass>,
205-
},
206-
207184
#[snafu(display("failed to build config file for {rolegroup}"))]
208185
BuildRoleGroupConfigFile {
209186
source: FlaskAppConfigWriterError,
@@ -291,11 +268,6 @@ pub enum Error {
291268
source: stackable_operator::builder::meta::Error,
292269
},
293270

294-
#[snafu(display(
295-
"failed to build volume or volume mount spec for the LDAP backend TLS config"
296-
))]
297-
VolumeAndMounts { source: ldap::v1alpha1::Error },
298-
299271
#[snafu(display("failed to construct config"))]
300272
ConstructConfig { source: config::Error },
301273

0 commit comments

Comments
 (0)