1249f9b84433e0ca481a4a7a7caa0292a5eeaa43
- Author
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Committer
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Date
Message
chore(lint): remove unused nolint directive
Diff
1diff --git a/pkg/cron/cron.go b/pkg/cron/cron.go
2index c47f8e44515b92ba88335c93133745a59ddae992..fa5fbb2a38a9773a2aa5d108b9764763d313e0ce 100644
3--- a/pkg/cron/cron.go
4+++ b/pkg/cron/cron.go
5@@ -39,7 +39,7 @@ func NewScheduler(ctx context.Context) *Scheduler {
6
7 // Shutdonw gracefully shuts down the Scheduler.
8 func (s *Scheduler) Shutdown() {
9- ctx, cancel := context.WithTimeout(s.Cron.Stop(), 30*time.Second) //nolint:staticcheck
10+ ctx, cancel := context.WithTimeout(s.Cron.Stop(), 30*time.Second)
11 defer func() { cancel() }()
12 <-ctx.Done()
13 }