Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Fix HasResource pkg method to properly stop when a match is found (#β¦
β¦4190) Fix HasResource method to properly stop when a match is found - Updated the HasResource method to correctly stop the iteration when a matching GVK is found. - Replaced the immediate return inside the loop with a boolean flag and a break statement to ensure the function exits early when a resource is found. - This resolves the issue where the method was not stopping as expected after finding a matching resource
- Loading branch information