This commit is contained in:
shoopea 2019-05-11 12:54:49 +08:00
parent 55b1acda1d
commit 229f3d1b12

5
job.go
View File

@ -2,10 +2,9 @@ package main
import (
"fmt"
"log"
)
func jobRescan(Job j) {
func jobRescan(j Job) {
err := setJobStart(j.ID64)
logOnError(err, "jobRescan : setJobStart")
r := JobPayloadRescanMsg{}
@ -33,7 +32,7 @@ func jobRescan(Job j) {
return
}
func jobSetDone(Job j) {
func jobSetDone(j Job) {
err := setJobStart(j.ID64)
logOnError(err, "jobSetDone : setJobStart")
r := JobPayloadSetDone{}