juju config does not print new line at end of output
Bug #1879809 reported by
Joe Guo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Simon Richardson |
Bug Description
For example:
juju config octavia amp-image-tag
octavia-
It's even worse for complex output:
juju config kubernetes-master api-extra-args
api-extra-
The config output joines seamlessly with bash prompt, users need to be very careful to find out the real output.
For those who are not aware of this, they may just copy the joined output to docs or apply to other envs, which is dangerours.
Changed in juju: | |
milestone: | none → 2.8.1 |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: bitesize |
Changed in juju: | |
assignee: | nobody → Simon Richardson (simonrichardson) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Removing the milestone as we can't fix this because we'll end up breaking existing scripts - see https:/ /github. com/juju/ juju/blob/ 74c3a01c2f7f8d5 3db9452a65de6b5 b14818fca6/ cmd/juju/ application/ config. go#L415- L417
We can do this in Juju 3 at some point.