mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
src/api/eosio-contract.go: copy paste error. should ofc not be Postgres in the Redis statement.
This commit is contained in:
parent
3303ff0905
commit
fa740af0b1
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func (e EosioContract) Call() (haproxy.HealthCheckStatus, string) {
|
|||
// Check redis
|
||||
if h.Data.Redis.Status != "OK" {
|
||||
return haproxy.HealthCheckDown,
|
||||
fmt.Sprintf("Taking offline because Redis reported '%s'", h.Data.Postgres.Status)
|
||||
fmt.Sprintf("Taking offline because Redis reported '%s'", h.Data.Redis.Status)
|
||||
}
|
||||
|
||||
// Validate head block.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue