worker: remove redundant UpdateJob() call
A job is already set to be running when it is returned from the API (see Store.PopJob()).
This commit is contained in:
parent
54b63a645f
commit
db5dd1ee2c
1 changed files with 0 additions and 5 deletions
|
|
@ -50,11 +50,6 @@ func handleJob(client *jobqueue.Client) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = client.UpdateJob(job, common.IBRunning, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("Running job %s\n", job.ComposeID.String())
|
||||
result, err := job.Run(client)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue