commit | 45e78d7aa992c36e9ea92b6b9cafe4e341d5695c | [log] [tgz] |
---|---|---|
author | Thierry Fournier <tfournier@arpalert.org> | Fri Feb 19 18:34:46 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 30 15:43:52 2016 +0200 |
tree | cb5f029461b66c0f67d3f53d83ce9989c34a8318 | |
parent | 4f99b27c3486801d1a986440e3527d3126523839 [diff] |
MINOR: lua: refactor the Lua object registration All the HAProxy Lua object are declared with the same pattern: - Add the function __tosting which dumps the object name - Register the name in the Lua REGISTRY - Register the reference ID These action are refactored in on function. This remove some lines of code.