mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-05-10 22:38:10 +00:00
feat: add golangci-lint for go linting
This commit is contained in:
@@ -292,7 +292,7 @@ func (app *BootstrapApp) heartbeatRoutine() {
|
||||
continue
|
||||
}
|
||||
|
||||
res.Body.Close()
|
||||
res.Body.Close() //nolint:errcheck
|
||||
|
||||
if res.StatusCode != 200 && res.StatusCode != 201 {
|
||||
tlog.App.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200/201 status")
|
||||
|
||||
Reference in New Issue
Block a user