Skip to content

Commit a958ce2

Browse files
adwk67claude
andcommitted
refactor: align error variant naming with hive and hbase operators
Rename ProductConfigTransform to GenerateProductConfig and fix the display string casing to match the convention used across all three dereference/validate extraction PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b052a9b commit a958ce2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rust/operator-binary/src/controller/validate.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ pub enum Error {
2222
source: stackable_operator::product_config_utils::Error,
2323
},
2424

25-
#[snafu(display("Failed to transform configs"))]
26-
ProductConfigTransform {
25+
#[snafu(display("failed to generate product config"))]
26+
GenerateProductConfig {
2727
source: stackable_operator::product_config_utils::Error,
2828
},
2929

@@ -89,7 +89,7 @@ pub fn validate_cluster(
8989
let role_config = transform_all_roles_to_config(airflow, &roles);
9090
let validated_role_config = validate_all_roles_and_groups_config(
9191
&dereferenced.resolved_product_image.product_version,
92-
&role_config.context(ProductConfigTransformSnafu)?,
92+
&role_config.context(GenerateProductConfigSnafu)?,
9393
product_config_manager,
9494
false,
9595
false,

0 commit comments

Comments
 (0)