add newline if the output formatter is json
Bug #1657683 reported by
shizhihui
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Fix Released
|
Undecided
|
shizhihui |
Bug Description
When we use the command with output formatter is json, we may get result like these:
(1)
[root@zhihui cliff]# openstack volume type list -f json
[
{
"ID": "0a42e6d8-
"Name": "lvmdriver-1"
}
][root@zhihui cliff]#
(2)
[root@zhihui cliff]# openstack stack list -f json
[
{
"Updated Time": null,
"Stack Status": "CREATE_COMPLETE",
"Stack Name": "test",
"ID": "ba94a8bd-
"Creation Time": "2016-11-
}
][root@zhihui cliff]#
...
The result is so terrible, so I fix it.
Changed in python-cliff: | |
assignee: | nobody → shizhihui (shizhihui) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/422488
Review: https:/