fix job shop slaves
This commit is contained in:
parent
47e6db4353
commit
4aea83ebbe
4
job.go
4
job.go
@ -2345,7 +2345,7 @@ func jobShopsSlave(j Job) {
|
||||
}
|
||||
TGCmdQueue <- c
|
||||
|
||||
p.Shops = append(p.Shops[:0], p.Shops[i+1:]...)
|
||||
p.Shops = append(p.Shops[:0], p.Shops[1:]...)
|
||||
|
||||
err = setJobPayloadJSON(j.ID64, p)
|
||||
logOnError(err, "jobShopsSlave : setJobPayloadJSON")
|
||||
@ -2361,7 +2361,7 @@ func jobShopsSlave(j Job) {
|
||||
err = setJobPayloadJSONUnsafe(p.JobCallbackID64, p2)
|
||||
muxObjJob.Unlock()
|
||||
|
||||
p.Shops = append(p.Shops[:0], p.Shops[i+1:]...)
|
||||
p.Shops = append(p.Shops[:0], p.Shops[1:]...)
|
||||
|
||||
err = setJobPayloadJSON(j.ID64, p)
|
||||
logOnError(err, "jobShopsSlave : setJobPayloadJSON")
|
||||
|
Loading…
Reference in New Issue
Block a user