Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed May 8, 2024
1 parent cc034af commit ac738c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kor/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func isErrorOrNamespaceContainsResources(
) (bool, error) {
apiResourceLists, err := clientset.Discovery().ServerPreferredNamespacedResources()
if err != nil {
panic(err)
return true, err
}

// Iterate over all API resources and list instances of each in the specified namespace
Expand Down

0 comments on commit ac738c6

Please sign in to comment.