mirror of https://github.com/crossplane/docs.git
fix: Invalid inequality operator in ArgoCD custom health for ProviderConfig (#687)
Signed-off-by: Richard Johansson <richard.jimmy.johansson@gmail.com>
This commit is contained in:
parent
653d7c6d31
commit
05874e0be6
|
@ -77,7 +77,7 @@ data:
|
|||
end
|
||||
|
||||
if obj.status == nil or obj.status.conditions == nil then
|
||||
if obj.kind == "ProviderConfig" and obj.status.users != nil then
|
||||
if obj.kind == "ProviderConfig" and obj.status.users ~= nil then
|
||||
health_status.status = "Healthy"
|
||||
health_status.message = "Resource is in use."
|
||||
return health_status
|
||||
|
|
Loading…
Reference in New Issue