]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: stats: fix location of the text representation
authorWilliam Dauchy <wdauchy@gmail.com>
Sat, 6 Nov 2021 11:30:43 +0000 (12:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 12:46:02 +0000 (13:46 +0100)
`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 <wdauchy@gmail.com>
include/haproxy/stats-t.h

index 3120133641ac0edae12bf0141314dd6bde6c2003..9ac875e73ae4cb90f38ff0a82b10cfb8c4e502d4 100644 (file)
@@ -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.
  */