From 58877188a8af82a45648dff3dc6e419474c81836 Mon Sep 17 00:00:00 2001 From: gkarthiks Date: Wed, 29 Jul 2020 01:57:29 +0530 Subject: [PATCH] chore: enabiling the real health check Signed-off-by: gkarthiks --- types/vault_pool_type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vault_pool_type.go b/types/vault_pool_type.go index 572c938..65108df 100644 --- a/types/vault_pool_type.go +++ b/types/vault_pool_type.go @@ -81,7 +81,7 @@ func (vp *VaultPool) GetNextPod() *VaultBackend { func (vp *VaultPool) HealthCheck() { for _, vaults := range vp.VaultBackends { status := "up" - alive := true//isBackendAlive(vaults.HealthURL) + alive := isBackendAlive(vaults.HealthURL) vaults.SetAlive(alive) if !alive { status = "down"