diff --git a/plugin_param_schema.json b/plugin_param_schema.json index 3482c214..d4621d50 100644 --- a/plugin_param_schema.json +++ b/plugin_param_schema.json @@ -144,7 +144,6 @@ "tag_type": [ 4, 5, - 7, 8, 9, 11, diff --git a/plugins/restful/datatag_handle.c b/plugins/restful/datatag_handle.c index 8e6eb1da..7a6bcf69 100644 --- a/plugins/restful/datatag_handle.c +++ b/plugins/restful/datatag_handle.c @@ -159,7 +159,7 @@ void handle_get_tags(nng_aio *aio) if (s_grp_name != NULL && strncmp(neu_taggrp_cfg_get_name(config), s_grp_name, strlen(s_grp_name)) != 0) { - break; + continue; } tags_res.n_tag += ids->size; @@ -176,7 +176,7 @@ void handle_get_tags(nng_aio *aio) if (s_grp_name != NULL && strncmp(group_name, s_grp_name, strlen(s_grp_name)) != 0) { - break; + continue; } vector_t *ids = neu_taggrp_cfg_get_datatag_ids(config);