Bug #37390
c-v inventory returns invalid JSON
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Description
print() uses single-quotes by default, which is invalid JSON.
History
#1 Updated by Noah Watkins about 2 years ago
encountered this as well with the the Python 3 JSON parser being strict about this. in addition to single quotes, I also see unquoted True/False which won't parse correctly either.
#2 Updated by Alfredo Deza about 2 years ago
- Status changed from New to In Progress
master PR: https://github.com/ceph/ceph/pull/25224
mimic PR: https://github.com/ceph/ceph/pull/25923
luminous PR: https://github.com/ceph/ceph/pull/25922
#3 Updated by Alfredo Deza over 1 year ago
- Status changed from In Progress to Resolved