From b999b457c08773ece59a8b9b0008a8ae3db9b9b0 Mon Sep 17 00:00:00 2001 From: Richard Johansson Date: Mon, 29 Jan 2024 18:25:04 +0100 Subject: [PATCH] fix: providerconfig custom health Signed-off-by: Richard Johansson --- content/knowledge-base/integrations/argo-cd-crossplane.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/knowledge-base/integrations/argo-cd-crossplane.md b/content/knowledge-base/integrations/argo-cd-crossplane.md index f74d124c7..2d1d75bd1 100644 --- a/content/knowledge-base/integrations/argo-cd-crossplane.md +++ b/content/knowledge-base/integrations/argo-cd-crossplane.md @@ -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