Merge curtin:usage-json-double-quotes into curtin:master
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | 4afe6d3822a9a2a9720ebc63e470c31865f2467a |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | curtin:usage-json-double-quotes |
Merge into: | curtin:master |
Diff against target: |
26 lines (+2/-2) 2 files modified
curtin/commands/install.py (+1/-1) curtin/commands/main.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Michael Hudson-Doyle | Approve | ||
Review via email: mp+427169@code.qastaging.launchpad.net |
Commit message
usage: fix help that showed invalid JSON in examples
The usage showed examples to override the stages that are
executed when running curtin install. That said, JSON only
accepts strings surrounded by double quotes and the examples use
single quotes. This leads to invalid JSON syntax if the examples
are copied.
Fixed by inverting the quotes used in the examples so that the
examples are valid.
Description of the change
usage: fix help that showed invalid JSON in examples
The usage showed examples to override the stages that are executed when running curtin install. That said, JSON only accepts strings surrounded by double quotes and the examples use single quotes. This leads to invalid JSON syntax if the examples are copied.
Fixed by inverting the quotes used in the examples so that the examples are valid.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:4afe6d3822a 9a2a9720ebc63e4 70c31865f2467a /jenkins. canonical. com/server- team/job/ curtin- ci/18/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-amd64/ 18/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-ppc64el/ 18/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-s390x/ 18/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/server- team/job/ curtin- ci/18// rebuild
https:/