Skip to content

Commit 7d6a0cb

Browse files
tonifingermbuechse
andauthored
Update Tests/kaas/plugin/run_plugin.py
Co-authored-by: Matthias Büchse <[email protected]> Signed-off-by: tonifinger <[email protected]>
1 parent 5a8f8ca commit 7d6a0cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/kaas/plugin/run_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def init_plugin(plugin_kind, config=None):
2323

2424
def run_plugin_create(plugin_kind, plugin_config, clusterspec_cluster, clusterspec):
2525
plugin = init_plugin(plugin_kind, plugin_config)
26-
plugin.create_cluster(clusterspec_cluster, clusterspec[clusterspec_cluster]['branch'], os.path.abspath(clusterspec[clusterspec_cluster]['kubeconfig']))
26+
clusterinfo = clusterspec[clusterspec_cluster]
27+
plugin.create_cluster(clusterspec_cluster, clusterinfo['branch'], os.path.abspath(clusterinfo['kubeconfig']))
2728

2829

2930
def run_plugin_delete(plugin_kind, plugin_config, clusterspec_cluster, clusterspec):

0 commit comments

Comments
 (0)