Skip to content

Commit 31939a6

Browse files
committed
gateway/src/apicast/http_proxy.lua: remove unused code
1 parent 4ed2825 commit 31939a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gateway/src/apicast/http_proxy.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ local format = string.format
22

33
local resty_url = require "resty.url"
44
local resty_resolver = require 'resty.resolver'
5-
local round_robin = require 'resty.balancer.round_robin'
65
local http_proxy = require 'resty.http.proxy'
76
local file_reader = require("resty.file").file_reader
87
local concat = table.concat
98

109
local _M = { }
1110

1211
function _M.reset()
13-
_M.balancer = round_robin.new()
1412
_M.resolver = resty_resolver
1513
_M.http_backend = require('resty.http_ng.backend.resty')
1614
_M.dns_resolution = 'apicast' -- can be set to 'proxy' to let proxy do the name resolution

0 commit comments

Comments
 (0)