From: Florian Forster Date: Thu, 18 Oct 2018 15:27:30 +0000 (+0200) Subject: write_stackdriver plugin: Remove redundant error message. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1239eb8719bc23e2c696fda4fbf5efdfea28f7cd;p=collectd.git write_stackdriver plugin: Remove redundant error message. A more detailed error is previously logged by wg_call_timeseries_write. --- diff --git a/src/write_stackdriver.c b/src/write_stackdriver.c index 0dad03cf..a1341d9d 100644 --- a/src/write_stackdriver.c +++ b/src/write_stackdriver.c @@ -341,11 +341,6 @@ static int wg_flush_nolock(cdtime_t timeout, wg_callback_t *cb) /* {{{ */ char *payload = sd_output_reset(cb->formatter); int status = wg_call_timeseries_write(cb, payload); - if (status != 0) { - ERROR("write_stackdriver plugin: Sending buffer failed with status %d.", - status); - } - wg_reset_buffer(cb); return status; } /* }}} wg_flush_nolock */