Commit a9e97393 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

jqueue: Update message for cancelling running job


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e194129a
......@@ -1166,8 +1166,8 @@ class JobQueue(object):
if job_status not in (constants.JOB_STATUS_QUEUED,
constants.JOB_STATUS_WAITLOCK):
logging.debug("Job %s is no longer in the queue", job.id)
return (False, "Job %s is no longer in the queue" % job.id)
logging.debug("Job %s is no longer waiting in the queue", job.id)
return (False, "Job %s is no longer waiting in the queue" % job.id)
if job_status == constants.JOB_STATUS_QUEUED:
self.CancelJobUnlocked(job)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment