Skip to content

Commit

Permalink
fix PerconaXtraDBCluster health (argoproj#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
2 people authored and vladfr committed Dec 13, 2023
1 parent a0766f1 commit 788d788
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 788d788

Please sign in to comment.