Skip to content

Commit

Permalink
fixed name conflict error for cluster_config
Browse files Browse the repository at this point in the history
Signed-off-by: Chinmay Gadgil <[email protected]>
  • Loading branch information
cgchinmay committed Aug 29, 2024
1 parent e15327b commit 96d5544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osbenchmark/builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 96d5544

Please sign in to comment.