diff --git a/pkg/comp-functions/functions/common/maintenance/maintenance.go b/pkg/comp-functions/functions/common/maintenance/maintenance.go index b55a1f5823..929fe1eed0 100644 --- a/pkg/comp-functions/functions/common/maintenance/maintenance.go +++ b/pkg/comp-functions/functions/common/maintenance/maintenance.go @@ -337,7 +337,7 @@ func SetReleaseVersion(ctx context.Context, version string, desiredValues map[st if observedVersion.GTE(desiredVersion) { // In case the overved tag is valid and greater than the desired version, keep the observed version - return observedVersion.String(), unstructured.SetNestedField(desiredValues, tag, fields...) + return tag, unstructured.SetNestedField(desiredValues, tag, fields...) } // In case the observed tag is smaller than the desired version, then set the version from the claim return version, unstructured.SetNestedField(desiredValues, version, fields...)