Skip to content

Commit

Permalink
pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Aug 21, 2024
1 parent 877312b commit aeacea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aeacea3

Please sign in to comment.