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 <[email protected]>
Co-authored-by: Filip Rafaj <[email protected]>
  • Loading branch information
2 people authored and Julien Fuix committed Feb 6, 2024
1 parent 1293bf9 commit e1f9b79
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 e1f9b79

Please sign in to comment.