Skip to content

Commit

Permalink
Fix multicluster_mode KeyError
Browse files Browse the repository at this point in the history
Fixes: #10803

Signed-off-by: Petr Balogh <[email protected]>
  • Loading branch information
petr-balogh committed Nov 5, 2024
1 parent 456011a commit 81f27bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocs_ci/ocs/resources/storage_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,9 @@ def ocs_install_verification(
verify_device_class_in_osd_tree(ct_pod, device_class)

# RDR with globalnet submariner
if config.MULTICLUSTER[
if config.MULTICLUSTER.get(
"multicluster_mode"
] == "regional-dr" and get_primary_cluster_config().ENV_DATA.get(
) == "regional-dr" and get_primary_cluster_config().ENV_DATA.get(
"enable_globalnet", True
):
validate_serviceexport()
Expand Down

0 comments on commit 81f27bb

Please sign in to comment.