fix errors

This commit is contained in:
Steven Polley 2024-08-22 16:29:14 -06:00
parent fa08c95ed2
commit 0301375b5a

View File

@ -276,7 +276,7 @@ func cleanCache(jobs []Job) error {
}
splitName := strings.Split(file.Name(), "-")
if len(splitName < 1) {
if len(splitName) < 1 {
continue
}
@ -299,4 +299,6 @@ func cleanCache(jobs []Job) error {
// Second, check if this version of a split job message is the active one, if not then delete
// TBD
}
return nil
}