diff --git a/importer/job.go b/importer/job.go index cc644404cd75f929b31db098e8459c0fd6618f32..ae64acbe8f01608a718eec85c10edeb20a4d976d 100644 --- a/importer/job.go +++ b/importer/job.go @@ -163,7 +163,7 @@ func (job *Job) Cancel() { oldState := atomic.SwapUint32((*uint32)(&job.State), uint32(JobCanceled)) // this next line is why we need to make sure JobCanceled is smaller than all the other states. if oldState < uint32(JobPending) { - // job.cancel() might not yet be initialized yet, setting the state to canceled is the + // job.cancel() might not yet be initialized, setting the state to canceled is the // only thing we can do for now... job.Start() or job.run() will take care of the rest. return }