Comment 0 for bug 1598897

Revision history for this message
Christian Muirhead (2-xtian) wrote : juju status relations that only differ by name collapsed in tabular output

If you deploy postgresql and run `juju status --format yaml`, two relations are listed for the application:

    relations:
      coordinator:
      - postgresql
      replication:
      - postgresql

But if you just run `juju status` you only see one relation:

RELATION PROVIDES CONSUMES TYPE
replication postgresql postgresql peer

Running `watch juju status` shows that the name shown switches between "replication" and "coordinator" randomly. It looks like the relations are being put into a map that doesn't include relation name in its key and getting smushed together.