CLI catalog command - '\n' character in JSON format output

Bug #1800799 reported by Arkady Shtempler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
console commander
New
Undecided
Unassigned

Bug Description

There are newline characters in JSON format output.

For example:

(openstack) catalog show ironic -f json
{
  "endpoints": "regionOne\n public: https://10.9.95.41:13385\nregionOne\n internal: http://192.168.24.3:6385\nregionOne\n admin: http://192.168.24.3:6385\n",
  "type": "baremetal",
  "id": "963ac717f6d24e67946b6cae5cdfba65",
  "name": "ironic"
}

(openstack) catalog show swift -f json
{
  "endpoints": "regionOne\n public: https://10.9.95.41:13808/v1/AUTH_c452477e871c4913affc606044919f67\nregionOne\n admin: http://192.168.24.3:8080\nregionOne\n internal: http://192.168.24.3:8080/v1/AUTH_c452477e871c4913affc606044919f67\n",
  "type": "object-store",
  "id": "57fb19bc1ca44d23b66cad84858d4e72",
  "name": "swift"

Such JSON is valid, but it's not clear why do we need them actually?

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

How this is related to Neutron?

affects: neutron → commandeer
affects: commandeer → concom
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.