Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12037 from hmlanigan/juju-info-add-config
#12037 ## Description of change Allow channels to be displayed again, real vs canned data issue. Instead of latest, the tracks that are latest are an empty string, insert "latest" for display purposes. Add the ability to display charm config options in the juju info output. Handy to know before deploying. ## QA steps ```console $ export JUJU_DEV_FEATURE_FLAGS="charm-hub" $ juju bootstrap localhost testme $ juju add-model seven --config charm-hub-url="https://api.staging.snapcraft.io" $ juju info apitest-ubuntu-qa --config name: apitest-ubuntu-qa charm-id: 4HVy9HLeoMQ0eUALfsvE6ifqtL6DqUPm summary: | juju-qa version of the ubuntu charm. publisher: Heather Lanigan supports: focal, xenial, bionic subordinate: false store-url: https://api.staging.snapcraft.io/v2/charms/apitest-ubuntu-qa description: | juju-qa version of the ubuntu charm. channels: | latest/stable: 1 (1) 250kB latest/candidate: 1 (1) 250kB latest/beta: 1 (1) 250kB latest/edge: 2 (2) 250kB settings: status: type: string description: temporary string for unit status default: hello thing: type: string description: A thing used by the charm. default: "\U0001F381" ```
- Loading branch information
Showing
4 changed files
with
96 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters