We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa2276b commit 44f6657Copy full SHA for 44f6657
1 file changed
extension/script/backend/bootstrap.lua
@@ -4,8 +4,8 @@ local tag = require 'backend.tag'
4
local m = {}
5
6
local function hasMaster()
7
- local ok = pcall(channel.query, tag.getChannelKeyMaster())
8
- return ok
+ local ok, masterChannel = pcall(channel.query, tag.getChannelKeyMaster())
+ return ok and masterChannel
9
end
10
11
local function initMaster(rootpath, address)
0 commit comments