Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Streppel committed Mar 8, 2021
1 parent 81530ac commit 064ecf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ func (s *Scheduler) Tag(t ...string) *Scheduler {
if s.tags != nil {
for _, tag := range t {
if _, ok := s.tags[tag]; ok {
job.err = wrapOrError(job.err, ErrTagsUnique(tag))
job.error = wrapOrError(job.error, ErrTagsUnique(tag))
return s
}
s.tags[tag] = struct{}{}
Expand Down

0 comments on commit 064ecf9

Please sign in to comment.