X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_sensu.c;h=6ea8106c8e73c9ef7d45a6b0fc08d91e87a80fb9;hb=a9191cc20f0a5af022ae1d9482af2eaf0098a46a;hp=4c9f42bac2472ec4e57bdc53d9324abcfc702710;hpb=5c35d13ad952c2fbcd3dfa41a77200097e2d2dc8;p=collectd.git diff --git a/src/write_sensu.c b/src/write_sensu.c index 4c9f42ba..6ea8106c 100644 --- a/src/write_sensu.c +++ b/src/write_sensu.c @@ -1084,12 +1084,8 @@ static int sensu_config_node(oconfig_item_t *ci) /* {{{ */ break; } else if (strcasecmp("Port", child->key) == 0) { status = cf_util_get_service(child, &host->service); - if (status != 0) { - ERROR("write_sensu plugin: Invalid argument " - "configured for the \"Port\" " - "option."); + if (status != 0) break; - } } else if (strcasecmp("StoreRates", child->key) == 0) { status = cf_util_get_boolean(child, &host->store_rates); if (status != 0)