X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_prometheus.c;h=526499849c2f27a5040f8d8b7febc00a107c9494;hb=5ff74d56067ac64db801df5184eb8b97f4b2b645;hp=14d78bb18dbc469fa39918f8aa801a31c53da7e8;hpb=57b9e83320b35d4dbd1312db5fbf33ddf8ecd989;p=collectd.git diff --git a/src/write_prometheus.c b/src/write_prometheus.c index 14d78bb1..52649984 100644 --- a/src/write_prometheus.c +++ b/src/write_prometheus.c @@ -599,8 +599,8 @@ static int metric_family_update(Io__Prometheus__Client__MetricFamily *fam, if (m == NULL) return -1; - return metric_update(m, vl->values[ds_index], ds->ds[ds_index].type, vl->time, - vl->interval); + return metric_update(m, vl->values[ds_index], ds->ds[ds_index].type, + vl->time, vl->interval); } /* metric_family_destroy frees the memory used by a metric family. */