juju status --format=tabular goes double space if one message is long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
If one of the messages in the unit section of 'juju status' causes line wrapping, it causes all of our unit messages to wrap.
example:
$ juju status
...
UNIT WORKLOAD AGENT MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ubuntu/0 unknown idle 0 10.246.146.142
ubuntu/1 unknown allocating 1 10.246.146.219 Waiting for agent initialization to finish
ubuntu/2 unknown allocating 2 10.246.146.157
MACHINE STATE DNS INS-ID SERIES AZ
...
I believe this is our 'fixed width' code not special casing the last column, but I think it would look nicer as:
UNIT WORKLOAD AGENT MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ubuntu/0 unknown idle 0 10.246.146.142
ubuntu/1 unknown allocating 1 10.246.146.219 Waiting for agent initialization to finish
ubuntu/2 unknown allocating 2 10.246.146.157
MACHINE STATE DNS INS-ID SERIES AZ
...
description: | updated |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta12 → none |
milestone: | none → 2.0-beta12 |
https:/ /github. com/juju/ juju/pull/ 5742