mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
fix PerconaXtraDBCluster health (#16434)
Signed-off-by: Filip Rafaj <filip.rafaj@prusa3d.cz> Co-authored-by: Filip Rafaj <filip.rafaj@prusa3d.cz>
This commit is contained in:
parent
4875b02b88
commit
c602302d62
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ status:
|
|||
pmm: {}
|
||||
proxysql: {}
|
||||
pxc:
|
||||
image: ''
|
||||
image: ""
|
||||
ready: 1
|
||||
size: 2
|
||||
status: error
|
||||
|
|
@ -20,5 +20,5 @@ status:
|
|||
ready: 1
|
||||
size: 2
|
||||
state: error
|
||||
messages:
|
||||
- we lost node
|
||||
message:
|
||||
- we lost node
|
||||
|
|
|
|||
Loading…
Reference in a new issue