Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The command 'juju show-cloud' does not support JSON format
The PR #228 [1] changed to use jq instead of sed to parse yaml when relocating two lines. However, yaml format is not supported in versions prior to juju 3.x. $ juju show-cloud localhost --format json ERROR invalid value "json" for option --format: unknown format "json" Therefore, we need to revert back to the previous two lines to support both juju 2.x and juju 3.x simultaneously. [1] #228
- Loading branch information