Make show-config work with cluster_name from config file (#618)

similar to edit-config, list and so on
This commit is contained in:
Alexander Kukushkin
2018-01-30 14:24:54 +01:00
committed by GitHub
parent a4aaf53212
commit 0db788bb95
+1 -1
View File
@@ -1101,7 +1101,7 @@ def edit_config(obj, cluster_name, force, quiet, kvpairs, pgkvpairs, apply_filen
@ctl.command('show-config', help="Show cluster configuration")
@click.argument('cluster_name')
@arg_cluster_name
@click.pass_obj
def show_config(obj, cluster_name):
cluster = get_dcs(obj, cluster_name).get_cluster()