From 6f30f84d07d315506f09f560e83e6f44aa296286 Mon Sep 17 00:00:00 2001
From: Seth Vargo <seth@sethvargo.com>
Date: Tue, 19 Jul 2022 13:32:07 -0400
Subject: [PATCH] Fix iteration

---
 pkg/gcrcleaner/server.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/gcrcleaner/server.go b/pkg/gcrcleaner/server.go
index 680b4d0..6252a48 100644
--- a/pkg/gcrcleaner/server.go
+++ b/pkg/gcrcleaner/server.go
@@ -304,7 +304,7 @@ func (s *sortedStringSlice) UnmarshalJSON(b []byte) error {
 		if t := strings.TrimSpace(val); t != "" {
 			m[t] = struct{}{}
 		}
-	case any:
+	case []any:
 		for i, v := range val {
 			s, ok := v.(string)
 			if !ok {