diff --git a/main.go b/main.go index cf99ee9..7fc8200 100644 --- a/main.go +++ b/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 }