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 9, 2024
1 parent 5005908 commit 0abfcbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/helpers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5030,7 +5030,7 @@ def upgrade_multus_holder_design():
Upgrade multus holder design from ODF4.15 to ODF4.16
"""
if config.ENV_DATA.get("multus_delete_csi_holder_pods"):
if not config.ENV_DATA.get("multus_delete_csi_holder_pods"):
return
if config.ENV_DATA.get("multus_create_public_net"):
add_route_public_nad()
Expand Down
1 change: 1 addition & 0 deletions ocs_ci/ocs/ocs_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ 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 (
config.ENV_DATA.get("is_multus_enabled")
and upgrade_version == version.VERSION_4_16
Expand Down

0 comments on commit 0abfcbf

Please sign in to comment.