haproxyctl icon indicating copy to clipboard operation
haproxyctl copied to clipboard

cmds.listServers: improve backend matching so that only exact matches…

Open brmorris opened this issue 9 years ago • 0 comments

… 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.

brmorris avatar Aug 05 '16 01:08 brmorris