Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaton committed Jun 10, 2022
1 parent 82b0b26 commit 0c8b96d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discovery/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local function tt_tail_call(self, ...)
return ...
end

function Tarantool:call(method, args, opts, ctx)
function Tarantool:call(method, args, opts)
self.on_the_fly = self.on_the_fly + 1
return tt_tail_call(self, pcall(self.conn.call, self.conn, method, args, opts))
end
Expand Down Expand Up @@ -109,7 +109,7 @@ function M.new(_, args)
run_interval = self.upstream.etcd.refresh_timeout,
setup = function(ctx) ctx.endpoints = {} end,
func = function(ctx)
local result, response = config.etcd:list(self.upster.etcd.prefix)
local result, _ = config.etcd:list(self.upstream.etcd.prefix)
local endpoints = {}
for _, info in pairs(result) do
if not info.disabled then
Expand Down

0 comments on commit 0c8b96d

Please sign in to comment.