From d3141b1d378189b894ae7d9b893d700e387ac5e3 Mon Sep 17 00:00:00 2001 From: William Dauchy Date: Sat, 6 Nov 2021 12:30:43 +0100 Subject: [PATCH] DOC: stats: fix location of the text representation `info_field_names` and `stat_field_names` no longer exist and have been moved in stats.c To avoid changing this comment, just mention the name of the new table `info_fields` and `stat_fields` Signed-off-by: William Dauchy --- include/haproxy/stats-t.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/haproxy/stats-t.h b/include/haproxy/stats-t.h index 3120133..9ac875e 100644 --- a/include/haproxy/stats-t.h +++ b/include/haproxy/stats-t.h @@ -253,8 +253,8 @@ enum field_scope { FS_MASK = 0xFF000000, }; -/* Show Info fields for CLI output. For any field added here, please add the text - * representation in the info_field_names array below. Please only append at the end, +/* Show info fields for CLI output. For any field added here, please add the + * text representation in the info_fields array. Please only append at the end, * before the INF_TOTAL_FIELDS entry, and never insert anything in the middle * nor at the beginning. */ @@ -338,7 +338,7 @@ enum info_field { /* Stats fields for CSV output. For any field added here, please add the text - * representation in the stat_field_names array below. Please only append at the end, + * representation in the stat_fields array. Please only append at the end, * before the ST_F_TOTAL_FIELDS entry, and never insert anything in the middle * nor at the beginning. */ -- 1.7.10.4