From fa740af0b1967e64ef9116a3b4dc155959bd296b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 2 Mar 2022 16:28:43 +0100 Subject: [PATCH] src/api/eosio-contract.go: copy paste error. should ofc not be Postgres in the Redis statement. --- src/api/eosio-contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/eosio-contract.go b/src/api/eosio-contract.go index c18d389..ddc3e12 100644 --- a/src/api/eosio-contract.go +++ b/src/api/eosio-contract.go @@ -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.