diff --git a/ocs_ci/ocs/utils.py b/ocs_ci/ocs/utils.py index 93099a96ea4..ea30c7147ca 100644 --- a/ocs_ci/ocs/utils.py +++ b/ocs_ci/ocs/utils.py @@ -40,7 +40,7 @@ ) from ocs_ci.utility.version import ( get_dr_hub_operator_version, - get_ocp_dr_cluster_operator_version, + get_dr_cluster_operator_version, get_odf_multicluster_orchestrator_version, get_ocp_gitops_operator_version, get_submariner_operator_version, @@ -1739,7 +1739,7 @@ def get_dr_operator_versions(): oadp_operator_version = get_oadp_version() if oadp_operator_version: versions_dic["oadp_version"] = oadp_operator_version - ocp_dr_cluster_operator_version = get_ocp_dr_cluster_operator_version() + ocp_dr_cluster_operator_version = get_dr_cluster_operator_version() if ocp_dr_cluster_operator_version: versions_dic["dr_cluster_version"] = ocp_dr_cluster_operator_version gitops_operator_version = get_ocp_gitops_operator_version() diff --git a/ocs_ci/utility/version.py b/ocs_ci/utility/version.py index aee79f7aefb..98c8da04059 100644 --- a/ocs_ci/utility/version.py +++ b/ocs_ci/utility/version.py @@ -195,9 +195,9 @@ def get_dr_hub_operator_version(namespace=constants.OPENSHIFT_NAMESPACE): return csv["spec"]["version"] -def get_ocp_dr_cluster_operator_version(namespace=constants.OPENSHIFT_NAMESPACE): +def get_dr_cluster_operator_version(namespace=constants.OPENSHIFT_NAMESPACE): """ - Get DR Hub Operator Version + Get DR Cluster Operator Version Returns: str: returns version string