Skip to content

Commit 18c38d0

Browse files
faiqjimmidyson
authored andcommitted
fix: compact must be used with sort to remove dups
1 parent efba6db commit 18c38d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hack/tools/fetch-images/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func main() {
8989
os.Exit(1)
9090
}
9191
images = append(images, addonImages...)
92+
slices.Sort(images)
9293
images = slices.Compact(images)
9394
for _, image := range images {
9495
fmt.Println(image)

0 commit comments

Comments
 (0)