Project

General

Profile

Bug #37390

c-v inventory returns invalid JSON

Added by Sebastian Wagner over 1 year ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

print() uses single-quotes by default, which is invalid JSON.

History

#1 Updated by Noah Watkins over 1 year 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.

#3 Updated by Alfredo Deza 7 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF