Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions rust/operator-binary/src/airflow_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use stackable_operator::{
product_image_selection::{self, ResolvedProductImage},
rbac::build_rbac_resources,
},
config::fragment::ValidationError,
crd::{
authentication::{core as auth_core, ldap},
git_sync, listener,
Expand Down Expand Up @@ -122,9 +121,6 @@ pub struct Ctx {
#[derive(Snafu, Debug, EnumDiscriminants)]
#[strum_discriminants(derive(IntoStaticStr))]
pub enum Error {
#[snafu(display("object has no namespace"))]
ObjectHasNoNamespace,

#[snafu(display("object defines no airflow config role"))]
NoAirflowRole,

Expand Down Expand Up @@ -217,11 +213,6 @@ pub enum Error {
role: String,
},

#[snafu(display("invalid executor name"))]
UnidentifiedAirflowExecutor {
source: stackable_operator::builder::meta::Error,
},

#[snafu(display("invalid container name"))]
InvalidContainerName {
source: stackable_operator::builder::pod::container::Error,
Expand Down Expand Up @@ -270,9 +261,6 @@ pub enum Error {
source: stackable_operator::cluster_resources::Error,
},

#[snafu(display("fragment validation failure"))]
FragmentValidationFailure { source: ValidationError },

#[snafu(display("failed to create PodDisruptionBudget"))]
FailedToCreatePdb {
source: crate::operations::pdb::Error,
Expand Down
2 changes: 0 additions & 2 deletions rust/operator-binary/src/product_logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ use crate::crd::STACKABLE_LOG_DIR;

#[derive(Snafu, Debug)]
pub enum Error {
#[snafu(display("object has no namespace"))]
ObjectHasNoNamespace,
#[snafu(display("failed to retrieve the ConfigMap [{cm_name}]"))]
ConfigMapNotFound {
source: stackable_operator::client::Error,
Expand Down
Loading