]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: samples: add missing context names for sample fetch functions
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Mar 2022 14:39:24 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Mar 2022 15:55:54 +0000 (17:55 +0200)
commit0d71d2f4fa6b2fa87442cfe07cc63c6f77961ebb
tree3c2964901afca2fa59423cce5267d483ec7d10fa
parentb4f96eda561ce54a9147e86ad4bdb178b0b01311
BUG/MINOR: samples: add missing context names for sample fetch functions

In 2.4, two commits added support for supporting sample fetch calls from
new config and CLI contexts, but these were not added to the visibile
names, which may possibly cause "(null)" to appear in some error messages.
The commit in question were:
  db5e0dbea ("MINOR: sample: add a new CLI_PARSER context for samples")
  f9a7a8fd8 ("MINOR: sample: add a new CFG_PARSER context for samples")

This patch needs to be backported where these are present (2.4 and above).
src/sample.c