Skip to content

Commit

Permalink
Fix iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Jul 19, 2022
1 parent 539993a commit 6f30f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gcrcleaner/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6f30f84

Please sign in to comment.