make dcos config show consistent with other dcos config commands (#801)

This commit is contained in:
tamarrow
2016-10-07 18:24:50 -07:00
committed by Charles Ruhland
parent 0e79c5b600
commit f0bb0bb89e
2 changed files with 5 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ def _show(name):
for key, value in sorted(toml_config.property_items()):
if key == "core.dcos_acs_token":
value = "*"*8
emitter.publish('{}={}'.format(key, value))
emitter.publish('{} {}'.format(key, value))
return 0

View File

@@ -40,10 +40,10 @@ def test_version():
def _test_list_property(env):
stdout = b"""core.dcos_url=http://dcos.snakeoil.mesosphere.com
core.reporting=False
core.ssl_verify=false
core.timeout=5
stdout = b"""core.dcos_url http://dcos.snakeoil.mesosphere.com
core.reporting False
core.ssl_verify false
core.timeout 5
"""
assert_command(['dcos', 'config', 'show'],
stdout=stdout,