1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

stats: parse 'veerbose' setting as boolean

This commit is contained in:
Steffen Vogel 2017-05-14 10:41:27 +02:00
parent b0cc2ed0ad
commit e1d5a11c9c

View file

@ -132,7 +132,7 @@ static int stats_collect_parse(struct hook *h, config_setting_t *cfg)
cerror(cfg, "Invalid statistic output format: %s", format);
}
config_setting_lookup_int(cfg, "verbose", &p->verbose);
config_setting_lookup_bool(cfg, "verbose", &p->verbose);
config_setting_lookup_int(cfg, "warmup", &p->warmup);
config_setting_lookup_int(cfg, "buckets", &p->buckets);
config_setting_lookup_string(cfg, "output", &p->uri);