author | Florian Forster <octo@collectd.org> | |
Fri, 11 Nov 2016 19:42:36 +0000 (20:42 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 11 Nov 2016 19:42:39 +0000 (20:42 +0100) | ||
commit | 604607d3463fbe13eac252308f8a2497fb190167 | |
tree | b05421e3fdb3980c16428b19a87428061c6f0c8a | tree | snapshot |
parent | c53c496b6db4e11fd8aed8df9556dad481220196 | commit | diff |
write_prometheus plugin: Use the "static" macro to specify PROMETHEUS_DEFAULT_STALENESS_DELTA.
Fixes:
write_prometheus.c:56:1: error: initializer element is not constant
static cdtime_t staleness_delta = PROMETHEUS_DEFAULT_STALENESS_DELTA;
^
Fixes:
write_prometheus.c:56:1: error: initializer element is not constant
static cdtime_t staleness_delta = PROMETHEUS_DEFAULT_STALENESS_DELTA;
^
src/write_prometheus.c | diff | blob | history |