]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: log: fix obsolete comment for add_sample_to_logformat_list()
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 22 Feb 2024 15:13:13 +0000 (16:13 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 7 Mar 2024 10:47:56 +0000 (11:47 +0100)
Since 833cc794 ("MEDIUM: sample: handle comma-delimited converter list")
logformat expressions now support having a comma-delimited converter list
right after the fetch. Let's remove a leftover comment from the initial
implementation that says otherwise.

src/log.c

index 64a383ba03b2bcfe04452c4142381c8613a1a9da..cd8404b0fc6ea54d46da6d94d525761b05ec5800 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -401,8 +401,7 @@ int add_to_logformat_list(char *start, char *end, int type, struct list *list_fo
 
 /*
  * Parse the sample fetch expression <text> and add a node to <list_format> upon
- * success. At the moment, sample converters are not yet supported but fetch arguments
- * should work. The curpx->conf.args.ctx must be set by the caller. If an end pointer
+ * success. The curpx->conf.args.ctx must be set by the caller. If an end pointer
  * is passed in <endptr>, it will be updated with the pointer to the first character
  * not part of the sample expression.
  *