From 0301375b5aa56db94a297ea05d21bd9c12fb3758 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Thu, 22 Aug 2024 16:29:14 -0600 Subject: [PATCH] fix errors --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }