DOC: cache: Use '<name>' instead of '<id>' in error message
authorTim Duesterhus <tim@bastelstu.be>
Tue, 18 Aug 2020 20:06:51 +0000 (22:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Sep 2020 12:42:01 +0000 (14:42 +0200)
commit672c21973b7bf17292e1d491355ac3f6b41a5ae4
tree17ed2367474f3bf409398d8d51bc24a2dad7316a
parent7d360ab50f5201c617c7f93d7c973cf284f3a0b4
DOC: cache: Use '<name>' instead of '<id>' in error message

When the cache name is left out in 'filter cache' the error message refers
to a missing '<id>'. The name of the cache is called 'name' within the docs.

Adjust the error message for consistency.

The error message was introduced in 99a17a2d91f9044ea20bba6617048488aed80555.
This commit first appeared in 1.9, thus the patch must be backported to 1.9+.

(cherry picked from commit ea969f6f26adfa081df0d439723813cfcd4862c4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a2acefe080df9b2430d823129173591df2c9f4a3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/cache.c