]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
http: remove obsolete function interface()
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 15 Apr 2019 13:40:00 +0000 (15:40 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 18 Apr 2019 08:08:15 +0000 (10:08 +0200)
modules/http/http.lua.in

index 2ba4ff9bfd11c3020559370b8d994fe8b17f22c5..7bdadb13f44a0408472a0dc39b0128820f2696ec 100644 (file)
@@ -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