summaryrefslogtreecommitdiff
path: root/WHATS_NEW
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2022-08-15 11:40:52 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2022-08-16 13:42:50 +0200
commit81839cc4ebf566ea9f3e6d819c7338b98cdec374 (patch)
tree9ca7a0e6d75de73b623df635a61227703bafd6d5 /WHATS_NEW
parentce58e9d5b37c3e408f2b41c8095980490a87f2a4 (diff)
downloadlvm2-81839cc4ebf566ea9f3e6d819c7338b98cdec374.tar.gz
report: report numeric values (not string synonyms) for NUM and BIN fields with json_std format
Internally, NUM and BIN fields are marked as DM_REPORT_FIELD_TYPE_NUM_NUMBER through libdevmapper API. The new 'json_std' format mandates that the report string representing such a value must be a number, not an arbitrary string. This is because numeric values in 'json_std' format do not have double quotes around them. This practically means, we can't use string synonyms ("named reserved values") for such values and the report string must always represent a proper number. With 'json' and 'basic' formats, this is not an issue because 'basic' format doesn't have any structure or typing at all and 'json' format puts all values in quotes, including numeric ones.
Diffstat (limited to 'WHATS_NEW')
0 files changed, 0 insertions, 0 deletions