projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c20a2
)
restores support for TypeInstance in ts_create()
author
Yves Mettier
<ymettier@free.fr>
Thu, 12 Nov 2015 10:31:38 +0000
(10:31 +0000)
committer
Yves Mettier
<ymettier@free.fr>
Thu, 12 Nov 2015 10:31:38 +0000
(10:31 +0000)
src/target_set.c
patch
|
blob
|
history
diff --git
a/src/target_set.c
b/src/target_set.c
index
5e9d087
..
da2d307
100644
(file)
--- a/
src/target_set.c
+++ b/
src/target_set.c
@@
-177,6
+177,9
@@
static int ts_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
status = ts_config_add_string (&data->type, child,
/* may be empty = */ 0);
#endif
+ else if (strcasecmp ("TypeInstance", child->key) == 0)
+ status = ts_config_add_string (&data->type_instance, child,
+ /* may be empty = */ 1);
else if (strcasecmp ("MetaDataSet", child->key) == 0)
status = ts_config_add_meta (&data->meta, child,
/* may be empty = */ 1);