haproxyctl
haproxyctl copied to clipboard
cmds.listServers: improve backend matching so that only exact matches…
… are returned.
If haproxy has backends such as foo and foo-SSL, and the library is used to list the servers within the foo backend, unrelated servers in the foo-SSL backend are returned.
This patch tightens the backend string comparison so only backends with an exact match are returned.