Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
Signed-off-by: oviner <[email protected]>
  • Loading branch information
OdedViner committed Jul 24, 2024
1 parent 152e6f2 commit 529f32a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ocs_ci/ocs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions ocs_ci/utility/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 529f32a

Please sign in to comment.