Skip to content

Commit 9fc4b8a

Browse files
cosmo0920nourdouf
authored andcommitted
in_systemd: Process enumerated data as cfl_kvlist(s) at first
This is because systemctl's -o json-pretty or -o json converts duplicated keys' values as array(s). To avoid generating the duplicated key(s) does not resolve this issue. Instead, we need to store as cfl_kvlist at first to detect duplicated keys on enumerated data in journal storage. Then, we also need to generate as msgpack's array format when the duplicated key(s) were detected and translated as array format when storing as cfl_kvlist(s). Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 6536899 commit 9fc4b8a

File tree

2 files changed

+290
-49
lines changed

2 files changed

+290
-49
lines changed

0 commit comments

Comments
 (0)