commit | 94ed1c127ea65658545ceba1e92dd902c2d942cd | [log] [tgz] |
---|---|---|
author | Thierry Fournier <tfournier@arpalert.org> | Wed Feb 24 08:06:32 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 30 15:45:45 2016 +0200 |
tree | 151a59d276e13519a2c479fdd0996d3a4bf0f499 | |
parent | 3d4a675f244f3b2a9249d8e4d9a9198ad9791c7b [diff] |
MINOR: lua: Add internal function which strip spaces Some internal HAproxy error message are provided with a final '\n'. Its typically for the integration in the CLI. Sometimes, these messages are returned as Lua string. These string must be without "\n" or final spaces. This patch adds a function whoch removes unrequired parameters.