Skip to content

Commit

Permalink
Enable more linters
Browse files Browse the repository at this point in the history
  • Loading branch information
mxpv committed Apr 16, 2020
1 parent eb4fec5 commit 6a11db7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ linters:
- vet
- unused
- misspell
- bodyclose
- interfacer
- unconvert
- maligned
- depguard
- nakedret
- prealloc
- whitespace
disable:
- errcheck

Expand Down
1 change: 0 additions & 1 deletion cmd/podsync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func main() {
if cronid, err = c.AddFunc(_feed.CronSchedule, func() {
log.Debugf("adding %q to update queue", _feed.ID)
updates <- _feed

}); err != nil {
log.WithError(err).Fatalf("can't create cron task for feed: %s", _feed.ID)
}
Expand Down

0 comments on commit 6a11db7

Please sign in to comment.