From: William Dauchy Date: Sat, 6 Nov 2021 11:30:43 +0000 (+0100) Subject: DOC: stats: fix location of the text representation X-Git-Tag: v2.5-dev14~27 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=d3141b1d378189b894ae7d9b893d700e387ac5e3;p=haproxy.git 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 --- diff --git a/include/haproxy/stats-t.h b/include/haproxy/stats-t.h index 312013364..9ac875e73 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. */