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 <wdauchy@gmail.com>
This commit is contained in:
William Dauchy 2021-11-06 12:30:43 +01:00 committed by Willy Tarreau
parent 64755bf856
commit d3141b1d37

View 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.
*/