commit | cfeaa476c640397f7c93034959142480bb292127 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Oct 10 22:33:08 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Oct 10 22:33:08 2009 +0200 |
tree | 9b17de37aa1ee0ad90b064f3be6bdf1ec5f6c9ed | |
parent | ebe0af4b77bca2042565a3f15fc1f597f5862874 [diff] |
[MINOR] stats: add support for numeric IDs in set weight/get weight Krzysztof reported that using names only for get weight/set weight was not enough because it's still possible to have multiple servers with the same name (and my test config is one of those). He suggested to be able to designate them by their unique numeric IDs by prefixing the ID with a dash. That way we can have : set weight #120/#2 as well as get weight static/srv1 10