Fix health tapper status count (#538)

This commit is contained in:
Igor Gov 2021-12-16 12:39:45 +02:00 committed by GitHub
parent 4de795e463
commit 397d3931ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ func HealthCheck(c *gin.Context) {
}
}
tappers := make([]shared.TapperStatus, len(providers.TappersStatus))
tappers := make([]shared.TapperStatus, 0)
for _, value := range providers.TappersStatus {
tappers = append(tappers, value)
}