Skip to content

Commit

Permalink
chore: enabiling the real health check
Browse files Browse the repository at this point in the history
Signed-off-by: gkarthiks <[email protected]>
  • Loading branch information
gkarthiks committed Jul 28, 2020
1 parent dd249c5 commit 5887718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vault_pool_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5887718

Please sign in to comment.