]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Fix documentation about the cli command to get resolver stats
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Sep 2019 08:45:47 +0000 (10:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Sep 2019 08:45:48 +0000 (10:45 +0200)
In the management guide, this command was still referenced as "show stat
resolvers" instead of "show resolvers". The cli command was fixed by the commit
ff88efbd7 ("BUG/MINOR: dns: Fix CLI keyword declaration").

This patch fixes the issue #296. It can be backported as fas as 1.7.

doc/management.txt

index 9973747ac12b59bd78dd4aa9dd1ebdd864790bf2..73fda8974858e6f40bb3ef0f63f7aa2514257dde 100644 (file)
@@ -2440,7 +2440,7 @@ show stat [{<iid>|<proxy>} <type> <sid>] [typed|json]
   $ echo "show stat json" | socat /var/run/haproxy.sock stdio | \
     python -m json.tool
 
-show stat resolvers [<resolvers section id>]
+show resolvers [<resolvers section id>]
   Dump statistics for the given resolvers section, or all resolvers sections
   if no section is supplied.