1
0
Fork 0
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:
Henrik Hautakoski 2022-03-02 16:28:43 +01:00
parent 3303ff0905
commit fa740af0b1
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -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.