Skip to content

Commit d1b35fc

Browse files
adwk67claude
andcommitted
fix: pass product_version instead of app_version_label_value to product config validation
The label-safe composite version string (e.g. "2.6.4-stackable24.7.0") is not suitable for semver matching against fromVersion/asOfVersion constraints in properties.yaml. Use the raw product_version consistently with all other operators. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 05ba65f commit d1b35fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn validate_cluster(
6969
let roles = hbase.build_role_properties().context(RolePropertiesSnafu)?;
7070

7171
let validated_config = validate_all_roles_and_groups_config(
72-
&dereferenced.resolved_product_image.app_version_label_value,
72+
&dereferenced.resolved_product_image.product_version,
7373
&transform_all_roles_to_config(hbase, &roles).context(GenerateProductConfigSnafu)?,
7474
product_config_manager,
7575
false,

0 commit comments

Comments
 (0)