juju status --format=tabular goes double space if one message is long

Bug #1597704 reported by John A Meinel
6
This bug affects 1 person
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
...

Tags: status ui 2.0
John A Meinel (jameinel)
description: updated
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju-core:
assignee: nobody → John A Meinel (jameinel)
milestone: none → 2.0-beta12
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.