Skip to content

Commit 311e619

Browse files
committed
chore: remove obsolete errors
1 parent 3528930 commit 311e619

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -96,29 +96,6 @@ pub enum Error {
9696
source: stackable_operator::cluster_resources::Error,
9797
},
9898

99-
#[snafu(display("failed to apply Service for role group {role_group}"))]
100-
ApplyRoleGroupService {
101-
source: stackable_operator::cluster_resources::Error,
102-
role_group: String,
103-
},
104-
105-
#[snafu(display("failed to apply ConfigMap for role group {role_group}"))]
106-
ApplyRoleGroupConfig {
107-
source: stackable_operator::cluster_resources::Error,
108-
role_group: String,
109-
},
110-
111-
#[snafu(display("failed to build StatefulSet"))]
112-
BuildRoleGroupStatefulSet {
113-
source: build::resource::statefulset::Error,
114-
},
115-
116-
#[snafu(display("failed to apply StatefulSet for role group {role_group}"))]
117-
ApplyRoleGroupStatefulSet {
118-
source: stackable_operator::cluster_resources::Error,
119-
role_group: String,
120-
},
121-
12299
#[snafu(display("failed to dereference cluster objects"))]
123100
Dereference { source: dereference::Error },
124101

@@ -160,11 +137,6 @@ pub enum Error {
160137
source: stackable_operator::commons::rbac::Error,
161138
},
162139

163-
#[snafu(display("failed to apply PodDisruptionBudget"))]
164-
ApplyPdb {
165-
source: stackable_operator::cluster_resources::Error,
166-
},
167-
168140
#[snafu(display("failed to get required labels"))]
169141
GetRequiredLabels {
170142
source: KeyValuePairError<LabelValueError>,
@@ -182,11 +154,6 @@ pub enum Error {
182154

183155
#[snafu(display("failed to validate cluster"))]
184156
ValidateCluster { source: validate::Error },
185-
186-
#[snafu(display("failed to build rolegroup ConfigMap"))]
187-
BuildConfigMap {
188-
source: build::resource::config_map::Error,
189-
},
190157
}
191158

192159
type Result<T, E = Error> = std::result::Result<T, E>;

0 commit comments

Comments
 (0)