MINOR: lua: Add server name & puid to LUA Server class.

This commit is contained in:
Patrick Hemmer
2018-04-29 14:23:48 -04:00
committed by Willy Tarreau
parent c6a1d711a4
commit a62ae7ed9a
2 changed files with 22 additions and 0 deletions

View File

@@ -922,6 +922,14 @@ Server class
This class provides a way for manipulating servers and retrieving information.
.. js:attribute:: Server.name
Contain the name of the server.
.. js:attribute:: Server.puid
Contain the proxy unique identifier of the server.
.. js:function:: Server.is_draining(sv)
Return true if the server is currently draining sticky connections.