Print initial cluster message to stderr

Allows it to be easily filtered out
This commit is contained in:
Joshua Boniface 2020-01-05 12:38:29 -05:00
parent 08570bd7b9
commit baae9b4982
1 changed files with 2 additions and 2 deletions

View File

@ -2915,8 +2915,8 @@ 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'])) click.echo('Using cluster "{}" - Host: "{}" Scheme: "{}" Prefix: "{}"'.format(config['cluster'], config['api_host'], config['api_scheme'], config['api_prefix']), err=True)
click.echo() click.echo('', err=True)
config = dict() config = dict()