Skip to content

Commit

Permalink
fix version names
Browse files Browse the repository at this point in the history
Signed-off-by: oviner <[email protected]>
  • Loading branch information
OdedViner committed Jul 23, 2024
1 parent a9d84df commit 42e6d81
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ocs_ci/ocs/resources/ocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,36 +219,36 @@ def get_version_info(namespace=None):
with config.RunWithAcmConfigContext():
acm_operator_version = get_acm_version()
if acm_operator_version:
info["rp_acm_version"] = acm_operator_version
info["acm_version"] = acm_operator_version
ocp_dr_hub_operator_version = get_dr_hub_operator_version()
if ocp_dr_hub_operator_version:
info["rp_dr_hub_version"] = ocp_dr_hub_operator_version
info["dr_hub_version"] = ocp_dr_hub_operator_version
odf_multicluster_orchestrator_version = (
get_odf_multicluster_orchestrator_version()
)
if odf_multicluster_orchestrator_version:
info[
"rp_odf_multicluster_orchestrator_version"
"odf_multicluster_orchestrator_version"
] = odf_multicluster_orchestrator_version
gitops_operator_version = get_ocp_gitops_operator_version()
if gitops_operator_version:
info["rp_gitops_version"] = gitops_operator_version
info["gitops_version"] = gitops_operator_version
with config.RunWithPrimaryConfigContext():
oadp_operator_version = get_oadp_version()
if oadp_operator_version:
info["rp_oadp_version"] = oadp_operator_version
info["oadp_version"] = oadp_operator_version
ocp_dr_cluster_operator_version = get_ocp_dr_cluster_operator_version()
if ocp_dr_cluster_operator_version:
info["rp_ocp_dr_cluster_version"] = ocp_dr_cluster_operator_version
info["ocp_dr_cluster_version"] = ocp_dr_cluster_operator_version
gitops_operator_version = get_ocp_gitops_operator_version()
if gitops_operator_version:
info["rp_gitops_version"] = gitops_operator_version
info["gitops_version"] = gitops_operator_version
volsync_operator_version = get_volsync_operator_version()
if volsync_operator_version:
info["rp_volsync_version"] = volsync_operator_version
info["volsync_version"] = volsync_operator_version
submariner_operator_version = get_submariner_operator_version()
if submariner_operator_version:
info["rp_submariner_version"] = submariner_operator_version
info["submariner_version"] = submariner_operator_version
return info


Expand Down

0 comments on commit 42e6d81

Please sign in to comment.