author | Florian Forster <octo@collectd.org> | |
Sat, 27 Aug 2011 19:29:42 +0000 (15:29 -0400) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 27 Aug 2011 19:32:45 +0000 (15:32 -0400) | ||
commit | aadd789f6b154f24ea8af09c59a7d98512873806 | |
tree | 64e63b7e34ffe6024250b9672fcf83cea54fce41 | tree | snapshot |
parent | f4c495df1843f5e87f16d122fdc78531ceb2773d | commit | diff |
curl_json plugin: Be more clever building the type instance.
When the key of the parent object is empty, don't use it. The previous code led
to type instances starting with a dash, e.g. "-foo".
Also, be more verbose when unable to resolve types.
Change-Id: Ib5f55efe1acc1e819ac3189b6780a4e998bf9c9f
When the key of the parent object is empty, don't use it. The previous code led
to type instances starting with a dash, e.g. "-foo".
Also, be more verbose when unable to resolve types.
Change-Id: Ib5f55efe1acc1e819ac3189b6780a4e998bf9c9f
src/curl_json.c | diff | blob | history |