From: Petr Špaček Date: Mon, 15 Apr 2019 13:40:00 +0000 (+0200) Subject: http: remove obsolete function interface() X-Git-Tag: v4.0.0~4^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4a92c72cf1c7bb3d939fa9ffc4e01fa11f1b34;p=thirdparty%2Fknot-resolver.git http: remove obsolete function interface() --- diff --git a/modules/http/http.lua.in b/modules/http/http.lua.in index 2ba4ff9bf..7bdadb13f 100644 --- a/modules/http/http.lua.in +++ b/modules/http/http.lua.in @@ -379,17 +379,6 @@ function M.add_interface(conf) end end --- @function Listen on given HTTP(s) host (backwards compatible interface) -function M.interface(host, port, endpoints, crtfile, keyfile) - return M.add_interface { - host = host, - port = port, - endpoints = endpoints, - cert = crtfile, - key = keyfile, - } -end - -- @function Init module function M.init() -- collect and merge metrics only on leader