projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3022 from rubenk/treewide-fix-some-style-issues
[collectd.git]
/
src
/
write_stackdriver.c
diff --git
a/src/write_stackdriver.c
b/src/write_stackdriver.c
index
0dad03c
..
a1341d9
100644
(file)
--- 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);
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 */
wg_reset_buffer(cb);
return status;
} /* }}} wg_flush_nolock */