Skip to content

Commit

Permalink
Use any instead of interface{}
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-9900 committed Feb 12, 2025
1 parent 7b917da commit 50c907f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func GetResourceImages(u *unstructured.Unstructured) []string {
}

for _, container := range containers {
containerMap, ok := container.(map[string]interface{})
containerMap, ok := container.(map[string]any)
if !ok {
continue
}
Expand Down

0 comments on commit 50c907f

Please sign in to comment.