From f9af5cdc9f7101c9acc49a1105221b3bade95793 Mon Sep 17 00:00:00 2001 From: fbalak Date: Wed, 29 Jan 2025 11:23:17 +0100 Subject: [PATCH] fix condition Signed-off-by: fbalak --- ocs_ci/ocs/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocs_ci/ocs/node.py b/ocs_ci/ocs/node.py index 53688adc44f..7c612c9a34b 100644 --- a/ocs_ci/ocs/node.py +++ b/ocs_ci/ocs/node.py @@ -114,7 +114,7 @@ def get_nodes(node_type=constants.WORKER_MACHINE, num_of_nodes=None): if ( is_hci_provider_cluster() and node_type == constants.WORKER_MACHINE - and config.ENV_DATA["worker_replicas"] == 0 + and config.ENV_DATA["worker_replicas"] != 0 ): typed_nodes = [ node