From 1239eb8719bc23e2c696fda4fbf5efdfea28f7cd Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Oct 2018 17:27:30 +0200 Subject: [PATCH] write_stackdriver plugin: Remove redundant error message. A more detailed error is previously logged by wg_call_timeseries_write. --- src/write_stackdriver.c | 5 ----- 1 file changed, 5 deletions(-) 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 */ -- 2.11.0