Improve output of cluster

This commit is contained in:
Joshua Boniface 2020-01-06 09:23:35 -05:00
parent 007ee56a46
commit 66863a0183
1 changed files with 11 additions and 2 deletions

View File

@ -2953,7 +2953,16 @@ def cli(_cluster, _debug):
config = get_config(store_data, _cluster) config = get_config(store_data, _cluster)
if not config.get('badcfg', None): if not config.get('badcfg', None):
config['debug'] = _debug config['debug'] = _debug
click.echo('Using cluster "{}" - Host: "{}" Scheme: "{}" Prefix: "{}"'.format(config['cluster'], config['api_host'], config['api_scheme'], config['api_prefix']), err=True)
click.echo(
'Using cluster "{}" - Host: "{}" Scheme: "{}" Prefix: "{}"'.format(
config['cluster'],
config['api_host'],
config['api_scheme'],
config['api_prefix']
),
err=True
)
click.echo('', err=True) click.echo('', err=True)
config = dict() config = dict()