Skip to content

Commit

Permalink
Fixup plugin deletion parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Finger  <[email protected]>
  • Loading branch information
tonifinger committed Nov 19, 2024
1 parent c686a45 commit 6cab484
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tests/kaas/plugin/run_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ def create(plugin_kind, plugin_config, clusterspec_path, clusterspec_cluster):
@click.argument('clusterspec_path', type=click.Path(exists=True, dir_okay=False))
@click.argument('clusterspec_cluster', type=str, default="default")
def delete(plugin_kind, plugin_config, clusterspec_path, clusterspec_cluster):
clusterspec = load_spec(clusterspec_path)['clusters']
clusterinfo = clusterspec[clusterspec_cluster]
cluster_id = clusterspec_cluster
plugin = init_plugin(plugin_kind, plugin_config)
plugin.delete_cluster(cluster_id)
Expand Down

0 comments on commit 6cab484

Please sign in to comment.