chore: clean up lint (#11270)

This commit is contained in:
Kayla Washburn 2023-12-18 14:59:39 -07:00 committed by GitHub
parent e84d89353f
commit 3ab4800a18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -135,8 +135,8 @@ func (r *Runner) StartCron() {
// So if we are closed, we just return, and skip the Run() entirely.
select {
case <-r.cronCtx.Done():
// The cronCtx is cancelled before cron.Close() happens. So if the ctx is
// cancelled, then Close() will be called, or it is about to be called.
// The cronCtx is canceled before cron.Close() happens. So if the ctx is
// canceled, then Close() will be called, or it is about to be called.
// So do nothing!
default:
r.cron.Run()