From aa35557e76bac47fa81e271c5c3d2a566ce56bb3 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 4 Oct 2024 15:44:39 +0200 Subject: [PATCH] BUG/MINOR: stats: Fix the name for the total number of streams created Because of a copy/paste error, CurrStreams was reused by mistake. It should be "CumStreams" No backports needed. (cherry picked from commit 131b877565db423930909f0c26f25e000cbd6e3b) Signed-off-by: Willy Tarreau --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 93f3e8e..e54141c 100644 --- a/src/stats.c +++ b/src/stats.c @@ -169,7 +169,7 @@ const struct name_desc stat_cols_info[ST_I_INF_MAX] = { [ST_I_INF_BOOTTIME_MS] = { .name = "BootTime_ms", .desc = "How long ago it took to parse and process the config before being ready (milliseconds)" }, [ST_I_INF_NICED_TASKS] = { .name = "Niced_tasks", .desc = "Total number of active tasks+tasklets in the current worker process (Run_queue) that are niced" }, [ST_I_INF_CURR_STRM] = { .name = "CurrStreams", .desc = "Current number of streams on this worker process" }, - [ST_I_INF_CUM_STRM] = { .name = "CurrStreams", .desc = "Total number of streams created on this worker process since started" }, + [ST_I_INF_CUM_STRM] = { .name = "CumStreams", .desc = "Total number of streams created on this worker process since started" }, }; /* one line of info */ -- 1.7.10.4