Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd/...: fix single-key config commands #6928
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit ed209da
into
juju:2.1
Feb 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedFeb 7, 2017
Description of change
Fix controller-config and model-config commands
so that when a single key is specified, by
default we will format the value in its raw
form. Internally, we use the "smart" formatter
to do this.
To do this in a way that users can still get
YAML/JSON formatting of single keys as needed,
we introduce and default to tabular formatting
of controller config as we do for model config.
Also, fix the model-config command to honour
the -o/--output flag when a single key is
specified.
QA steps
def"
Documentation changes
Default format of controller-config has changed, and for single-key format of model-config. We do not guarantee stability of the default formats, you must specify YAML/JSON for that.
Bug reference
Fixes https://bugs.launchpad.net/juju/+bug/1661506