Skip to content

Commit c7dfdbd

Browse files
authored
remove elect mention (#36)
1 parent 6560c23 commit c7dfdbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crud/common/call.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local DEFAULT_VSHARD_CALL_TIMEOUT = 2
2222
-- @function init
2323
--
2424
function call.init()
25-
local function elect_call(opts)
25+
local function call(opts)
2626
checks({
2727
func_name = 'string',
2828
func_args = '?table',
@@ -38,7 +38,7 @@ function call.init()
3838
end
3939

4040
-- register global function
41-
rawset(_G, CALL_FUNC_NAME, elect_call)
41+
rawset(_G, CALL_FUNC_NAME, call)
4242
end
4343

4444
local function call_on_replicaset(replicaset, channel, vshard_call, func_name, func_args, opts)

0 commit comments

Comments
 (0)