mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
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).
This commit is contained in:
parent
b4f96eda56
commit
0d71d2f4fa
@ -327,6 +327,8 @@ static const char *fetch_ckp_names[SMP_CKP_ENTRIES] = {
|
|||||||
[SMP_CKP_FE_HRS_BDY] = "frontend http-response body rule",
|
[SMP_CKP_FE_HRS_BDY] = "frontend http-response body rule",
|
||||||
[SMP_CKP_FE_LOG_END] = "logs",
|
[SMP_CKP_FE_LOG_END] = "logs",
|
||||||
[SMP_CKP_BE_CHK_RUL] = "backend tcp-check rule",
|
[SMP_CKP_BE_CHK_RUL] = "backend tcp-check rule",
|
||||||
|
[SMP_CKP_CFG_PARSER] = "configuration parser",
|
||||||
|
[SMP_CKP_CLI_PARSER] = "CLI parser",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This function returns the type of the data returned by the sample_expr.
|
/* This function returns the type of the data returned by the sample_expr.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user