From 3cabe6b92dc5c030d439174c6c4b365fb0ce8c2a Mon Sep 17 00:00:00 2001 From: elene-margalit Date: Thu, 10 Sep 2020 00:29:32 +0200 Subject: [PATCH] Clang format --- src/utils/format_json/format_json.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/format_json/format_json.c b/src/utils/format_json/format_json.c index 86b919ebc..33b07f134 100644 --- a/src/utils/format_json/format_json.c +++ b/src/utils/format_json/format_json.c @@ -136,13 +136,15 @@ static int format_metric_distribution(strbuf_t buf, yajl_gen g, } CHECK(yajl_gen_map_close(g)); /*End Buckets*/ - strbuf_printf(&buf, "%" PRIu64, distribution_total_counter(m->value.distribution)); + strbuf_printf(&buf, "%" PRIu64, + distribution_total_counter(m->value.distribution)); CHECK(json_add_string(g, "count")); CHECK(json_add_string(g, buf.ptr)); strbuf_reset(&buf); - strbuf_printf(&buf, GAUGE_FORMAT, distribution_total_sum(m->value.distribution)); + strbuf_printf(&buf, GAUGE_FORMAT, + distribution_total_sum(m->value.distribution)); CHECK(json_add_string(g, "sum")); CHECK(json_add_string(g, buf.ptr)); -- 2.47.2