Skip to content

Commit

Permalink
fix PerconaXtraDBCluster health (#16434)
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Rafaj <filip.rafaj@prusa3d.cz>
Co-authored-by: Filip Rafaj <filip.rafaj@prusa3d.cz>
  • Loading branch information
filiprafaj and filiprafaj authored Nov 30, 2023
1 parent 4875b02 commit c602302
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if obj.status ~= nil then

if obj.status.state == "error" then
hs.status = "Degraded"
hs.message = "Cluster is on error: " .. table.concat(obj.status.messages, ", ")
hs.message = "Cluster is on error: " .. table.concat(obj.status.message, ", ")
return hs
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ status:
pmm: {}
proxysql: {}
pxc:
image: ''
image: ""
ready: 1
size: 2
status: error
version: 8.0.21-12.1
ready: 1
size: 2
state: error
messages:
- we lost node
message:
- we lost node

0 comments on commit c602302

Please sign in to comment.