diff --git a/src/lua/box_net_box.lua b/src/lua/box_net_box.lua index 43f9764c71d61e874bfb9bdd8974ad6c02d3ce90..b8169e71f58a09859f1952440edc848facfe3b1b 100644 --- a/src/lua/box_net_box.lua +++ b/src/lua/box_net_box.lua @@ -419,7 +419,7 @@ local remote_methods = { ping = function(self) if type(self) ~= 'table' then - box.error(box.error.PROC_LUA, "usage: remote:call(proc_name, ...)") + box.error(box.error.PROC_LUA, "usage: remote:ping()") end if not self:is_connected() then return false diff --git a/test/box/box.net.box.result b/test/box/box.net.box.result index b7bd596ad36dcc9b7ff460699d2a67be2ed4e253..1c0b7af47d7b1574ee1aa4bb4903967f6061bd97 100644 --- a/test/box/box.net.box.result +++ b/test/box/box.net.box.result @@ -593,7 +593,7 @@ cn.call('console_test') ... cn.ping() --- -- error: 'usage: remote:call(proc_name, ...)' +- error: 'usage: remote:ping()' ... remote.self:call('console_test') ---