refactor: clean up code to pass go lint test
This commit is contained in:
@@ -53,6 +53,7 @@ func (health Health) Check() error {
|
||||
defer func(Body io.ReadCloser) {
|
||||
err := Body.Close()
|
||||
if err != nil {
|
||||
logger.Debug("Error performing HealthCheck request: %v ", err)
|
||||
}
|
||||
}(healthResp.Body)
|
||||
if len(health.HealthyStatuses) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user