X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_graphite.c;fp=src%2Fwrite_graphite.c;h=dd7f966c6b0d5c08a40efb4cc2081781f487dc42;hb=836598b100f9acec988fcfe9a14e349e4186783b;hp=fe2376ad7382f0d2ae14f39ef6500c26e49ec8df;hpb=806091e395886da83acf2435e90648bdf2cf2ed5;p=collectd.git diff --git a/src/write_graphite.c b/src/write_graphite.c index fe2376ad..dd7f966c 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -548,6 +548,9 @@ static int wg_config_node (oconfig_item_t *ci) else if (strcasecmp ("AlwaysAppendDS", child->key) == 0) cf_util_get_flag (child, &cb->format_flags, GRAPHITE_ALWAYS_APPEND_DS); + else if (strcasecmp ("DropDuplicateFields", child->key) == 0) + cf_util_get_flag (child, &cb->format_flags, + GRAPHITE_DROP_DUPE_FIELDS); else if (strcasecmp ("EscapeCharacter", child->key) == 0) config_set_char (&cb->escape_char, child); else