mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
hooks: fix config parser for stats hook
This commit is contained in:
parent
41ceea7f48
commit
07340a582e
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static int stats_collect_parse(struct hook *h, json_t *cfg)
|
|||
const char *format = NULL;
|
||||
const char *uri = NULL;
|
||||
|
||||
ret = json_unpack_ex(cfg, &err, 0, "{ s?: s, s?: b, s?: i, s?: s?: i, s?: s }"
|
||||
ret = json_unpack_ex(cfg, &err, 0, "{ s?: s, s?: b, s?: i, s?: i, s?: s }",
|
||||
"format", &format,
|
||||
"verbose", &p->verbose,
|
||||
"warmup", &p->warmup,
|
||||
|
|
Loading…
Add table
Reference in a new issue