From a89fc9296186de14cc308e18adae56c7777bae0e Mon Sep 17 00:00:00 2001 From: Yves Mettier Date: Thu, 12 Nov 2015 10:31:38 +0000 Subject: [PATCH] restores support for TypeInstance in ts_create() --- src/target_set.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/target_set.c b/src/target_set.c index 5e9d0877..da2d3075 100644 --- 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); -- 2.30.2