This commit is contained in:
shoopea 2020-10-11 12:55:51 +02:00
parent 8681c97ebd
commit e0e8c2a8ae

3
sql.go
View File

@ -969,7 +969,8 @@ func cleanupJobData() {
return
}
jobs, err := jobStmt.Query(&cacheObjType[`job`])
jobID = cacheObjType[`job`]
jobs, err := jobStmt.Query(&jobID)
logOnError(err, "cleanupJobData : query jobStmt")
if err != nil {
jobStmt.Close()