From 96ed1b8af7a14ffc761820e4517b6dfc260a6ae7 Mon Sep 17 00:00:00 2001 From: Christian Pointner <equinox@helsinki.at> Date: Wed, 8 Aug 2018 11:02:36 +0200 Subject: [PATCH] fixed typo --- importer/job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importer/job.go b/importer/job.go index cc64440..ae64acb 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 } -- GitLab