author | Florian Forster <octo@collectd.org> | |
Thu, 3 Dec 2015 12:05:03 +0000 (13:05 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 3 Dec 2015 12:05:03 +0000 (13:05 +0100) | ||
commit | e5a9d9dee9e5ad0d47a68723bb7aa33b65355214 | |
tree | a0a0187c2a59aa2b427042f7f656dc9faa25ded3 | tree | snapshot |
parent | 380959068f87619143e98c52399847eb761fb222 | commit | diff |
ceph plugin: Rewrite handling of JSON state.
The previous code didn't handle non-numeric map values correctly,
leaking state and resulting in ridiculously long key strings. This
rewrite fixes this and adds a unit test to ensure that this is actually
working as intended.
Fixes: #1350
The previous code didn't handle non-numeric map values correctly,
leaking state and resulting in ridiculously long key strings. This
rewrite fixes this and adds a unit test to ensure that this is actually
working as intended.
Fixes: #1350
src/ceph.c | diff | blob | history | |
src/ceph_test.c | diff | blob | history |