Skip to content

Commit

Permalink
Fix luadoc description
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson committed Apr 5, 2024
1 parent a339e7a commit c45feff
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cartridge/topology.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1094,8 +1094,9 @@ end
-- The function is designed mostly for testing purposes.
--
-- @function member_is_healthy
-- @treturn[1] boolean|nil true / nil
-- @treturn[1] string error description
-- @treturn[1] boolean `true`
-- @treturn[2] nil
-- @treturn[2] table Error description
local function member_is_healthy(uri, instance_uuid)
local member = membership.get_member(uri) or {}

Expand Down Expand Up @@ -1132,9 +1133,9 @@ end
-- The function is designed mostly for testing purposes.
--
-- @function cluster_is_healthy
-- @function member_is_healthy
-- @treturn[1] boolean|nil true / nil
-- @treturn[1] string error description
-- @treturn[1] boolean `true`
-- @treturn[2] nil
-- @treturn[2] table Error description
local function cluster_is_healthy()
local confapplier = require('cartridge.confapplier')
if confapplier.get_state() ~= 'RolesConfigured' then
Expand Down

0 comments on commit c45feff

Please sign in to comment.