Skip to content

Commit

Permalink
Fix issue 10340 (red-hat-storage#10341)
Browse files Browse the repository at this point in the history
Signed-off-by: prsurve <prsurve@redhat.com>
Co-authored-by: Vijay Bhaskar Reddy Avuthu <vavuthu@redhat.com>
  • Loading branch information
prsurve and vavuthu authored Sep 2, 2024
1 parent 5805ba4 commit a0b0228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/utility/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4855,7 +4855,7 @@ def get_acm_version(namespace=constants.ACM_HUB_NAMESPACE):
for csv in csv_list:
if "advanced-cluster-management" in csv["metadata"]["name"]:
# extract version string
return csv["spec"]["version"]
return re.sub(r"-.", "", csv["spec"]["version"])


def is_cluster_y_version_upgraded():
Expand Down

0 comments on commit a0b0228

Please sign in to comment.