mojo deploy-show can remove the content of a deploy file
Bug #1734059 reported by
Junien F
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi,
Running "mojo deploy-show --options config=
Is this a bug, or am I using deploy-show wrong ?
Thanks
Related branches
lp:~mthaddon/mojo/lp-1734059
- Benjamin Allot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 102 lines (+28/-3)4 files modifiedmojo/cli.py (+11/-2)
mojo/exceptions.py (+4/-0)
mojo/spec.py (+6/-1)
mojo/tests/test_mojo.py (+7/-0)
Changed in mojo: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
The "config" here should be "as seen by Mojo" rather than a full path. So if your deploy phase is "deploy config=services" you should be running "mojo deploy-show --options config=services". However, I can confirm if you use the full path here it does indeed wipe the contents of the file, and shouldn't.
Will dig in a bit.