Skip to content

Commit

Permalink
Merge pull request #17 from gkarthiks/fix/real-check
Browse files Browse the repository at this point in the history
chore: enabiling the real health check
  • Loading branch information
gkarthiks authored Jul 28, 2020
2 parents dd249c5 + 5887718 commit 256f54b
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 256f54b

Please sign in to comment.