mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-02 11:43:42 +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
|
// Check redis
|
||||||
if h.Data.Redis.Status != "OK" {
|
if h.Data.Redis.Status != "OK" {
|
||||||
return haproxy.HealthCheckDown,
|
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.
|
// Validate head block.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue