Skip to content

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

Open
brmorris wants to merge 1 commit intoneurogeek:masterfrom
brmorris:master
Open

cmds.listServers: improve backend matching so that only exact matches…#7
brmorris wants to merge 1 commit intoneurogeek:masterfrom
brmorris:master

Conversation

@brmorris
Copy link

@brmorris brmorris commented Aug 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant