From aeacea315d500d5b86ae195058eb6e769cd9b005 Mon Sep 17 00:00:00 2001 From: rbajollari Date: Wed, 21 Aug 2024 10:56:29 -0400 Subject: [PATCH] pr comment --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 21bf392..907abdb 100644 --- a/main.go +++ b/main.go @@ -28,10 +28,10 @@ func main() { } // Create new websocket and REST server for each exchange - for j, exchange := range cfg.Exchanges { + for iter, exchange := range cfg.Exchanges { // Only register base health check on one server to avoid multiple registrations panic var registerBaseHealthCheck bool - if j == 0 { + if iter == 0 { registerBaseHealthCheck = true } else { registerBaseHealthCheck = false