X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fceph_test.c;h=b3c8f0bc9708e5d26eb8531296dfefee112fbb5e;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=2f65b509385e2f39573d0b520e031c09451f1a4e;hpb=1ecde57a53fc7c50e6b0139ad745b868413d420c;p=collectd.git diff --git a/src/ceph_test.c b/src/ceph_test.c index 2f65b509..b3c8f0bc 100644 --- a/src/ceph_test.c +++ b/src/ceph_test.c @@ -39,7 +39,7 @@ static int test_handler(void *user, char const *val, char const *key) { size_t i; char status[1024]; - _Bool ok; + bool ok; /* special case for latency metrics. */ if (strcmp("filestore.example_latency", key) == 0) @@ -123,7 +123,7 @@ DEF_TEST(traverse_json) { {"WBThrottle.ios_wb.type", "2"}, {"WBThrottle.inodes_dirtied.type", "2"}, {"WBThrottle.inodes_wb.type", "10"}, - {"filestore.journal_wr_bytes", "3117"}, + {"filestore.journal_wr_bytes.sum", "3117"}, {"filestore.example_latency.avgcount", "42"}, {"filestore.example_latency.sum", "4711"}, };