Skip to content

Commit 3e1be8b

Browse files
nokute78edsiper
authored andcommitted
http_server: health: modify qid of metrics
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent c996870 commit 3e1be8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http_server/api/v1/health.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ int api_v1_health(struct flb_hs *hs)
322322

323323
counter_init(hs);
324324
/* Create a message queue */
325-
hs->qid_metrics = mk_mq_create(hs->ctx, "/health",
325+
hs->qid_health = mk_mq_create(hs->ctx, "/health",
326326
cb_mq_health, NULL);
327327

328328
mk_vhost_handler(hs->ctx, hs->vid, "/api/v1/health", cb_health, hs);

0 commit comments

Comments
 (0)