From 96d554422f1b225cdce3148dbb4efc9e822249e4 Mon Sep 17 00:00:00 2001 From: Chinmay Gadgil Date: Thu, 29 Aug 2024 15:07:44 +0530 Subject: [PATCH] fixed name conflict error for cluster_config Signed-off-by: Chinmay Gadgil --- osbenchmark/builder/builder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osbenchmark/builder/builder.py b/osbenchmark/builder/builder.py index e6d3a1fb0..a83856cd6 100644 --- a/osbenchmark/builder/builder.py +++ b/osbenchmark/builder/builder.py @@ -612,18 +612,18 @@ def receiveUnrecognizedMessage(self, msg, sender): def load_cluster_config(cfg, external): # externally provisioned clusters do not support cluster_configs / plugins if external: - cluster_config = None + cluster_configuration = None plugins = [] else: cluster_config_path = cluster_config.cluster_config_path(cfg) - cluster_config = cluster_config.load_cluster_config( + cluster_configuration = cluster_config.load_cluster_config( cluster_config_path, cfg.opts("builder", "cluster_config.names"), cfg.opts("builder", "cluster_config.params")) plugins = cluster_config.load_plugins(cluster_config_path, cfg.opts("builder", "cluster_config.plugins", mandatory=False), cfg.opts("builder", "plugin.params", mandatory=False)) - return cluster_config, plugins + return cluster_configuration, plugins def create(cfg, metrics_store, node_ip, node_http_port, all_node_ips, all_node_ids, sources=False, distribution=False,