Skip to content

Commit b145d1b

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

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
@@ -323,7 +323,7 @@ int api_v1_health(struct flb_hs *hs)
323323

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

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

0 commit comments

Comments
 (0)