fix errors
This commit is contained in:
parent
fa08c95ed2
commit
0301375b5a
4
main.go
4
main.go
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user