Skip to content

Commit 5804c1d

Browse files
committed
chore: remove unused error variant
1 parent 315565d commit 5804c1d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ use stackable_operator::{
2020
PvcConfig, PvcConfigFragment, Resources, ResourcesFragment,
2121
},
2222
},
23-
config::{
24-
fragment::{Fragment, ValidationError},
25-
merge::Merge,
26-
},
23+
config::{fragment::Fragment, merge::Merge},
2724
crd::s3,
2825
deep_merger::ObjectOverrides,
2926
k8s_openapi::apimachinery::pkg::api::resource::Quantity,
@@ -97,9 +94,6 @@ pub type HiveRoleGroupType =
9794

9895
#[derive(Snafu, Debug)]
9996
pub enum Error {
100-
#[snafu(display("fragment validation failure"))]
101-
FragmentValidationFailure { source: ValidationError },
102-
10397
#[snafu(display("the role {role} is not defined"))]
10498
CannotRetrieveHiveRole { role: String },
10599
}

0 commit comments

Comments
 (0)