From 48f19c0a0eb1738f8974bc065089c08b6a48b027 Mon Sep 17 00:00:00 2001 From: Harry C Date: Thu, 13 Nov 2025 18:15:36 +0000 Subject: [PATCH] Fix type: kubleci -> kubecli in time scenario exclude_label (#955) Signed-off-by: Harry12980 --- .../time_actions/time_actions_scenario_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/krkn/scenario_plugins/time_actions/time_actions_scenario_plugin.py b/krkn/scenario_plugins/time_actions/time_actions_scenario_plugin.py index 6e626a40..231123d7 100644 --- a/krkn/scenario_plugins/time_actions/time_actions_scenario_plugin.py +++ b/krkn/scenario_plugins/time_actions/time_actions_scenario_plugin.py @@ -146,7 +146,7 @@ class TimeActionsScenarioPlugin(AbstractScenarioPlugin): node_names = kubecli.list_nodes(scenario["label_selector"]) # going to filter out nodes with the exclude_label if it is provided if "exclude_label" in scenario.keys() and scenario["exclude_label"]: - excluded_nodes = kubleci.list_nodes(scenario["exclude_label"]) + excluded_nodes = kubecli.list_nodes(scenario["exclude_label"]) node_names = [node for node in node_names if node not in excluded_nodes] for node in node_names: self.skew_node(node, scenario["action"], kubecli) @@ -195,7 +195,7 @@ class TimeActionsScenarioPlugin(AbstractScenarioPlugin): pod_names = kubecli.get_all_pods(scenario["label_selector"]) # and here filter out the pods with exclude_label if it is provided if "exclude_label" in scenario.keys() and scenario["exclude_label"]: - excluded_pods = kubleci.get_all_pods(scenario["exclude_label"]) + excluded_pods = kubecli.get_all_pods(scenario["exclude_label"]) pod_names = [pod for pod in pod_names if pod not in excluded_pods] if len(pod_names) == 0: