make dcos config show consistent with other dcos config commands (#801)
This commit is contained in:
committed by
Charles Ruhland
parent
0e79c5b600
commit
f0bb0bb89e
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user