Skip to content

Commit

Permalink
skip fetching upgrade version if its external mode
Browse files Browse the repository at this point in the history
Signed-off-by: vavuthu <[email protected]>
  • Loading branch information
vavuthu committed Jul 15, 2024
1 parent 1a369ca commit 9d80f00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocs_ci/ocs/ocs_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,8 @@ def run_ocs_upgrade(
# in pending state
is_all_csvs_succeeded = check_all_csvs_are_succeeded(namespace=namespace)
assert is_all_csvs_succeeded, "Not all CSV's are in succeeded state"
upgrade_version = version.get_semantic_version(upgrade_version, True)
if not config.DEPLOYMENT["external_mode"]:
upgrade_version = version.get_semantic_version(upgrade_version, True)
if (
config.ENV_DATA.get("is_multus_enabled")
and upgrade_version == version.VERSION_4_16
Expand Down

0 comments on commit 9d80f00

Please sign in to comment.