-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kubernetes): do not throw NPE on NetworkPolicies with ingresses w…
…ith null ports (#4182) (#4186) Similar to #4172, the code is assuming that a NetworkPolicy that has an ingress will return an empty list of ports, but instead it defaults to null for this[1] and so crashes. [1] https://github.com/kubernetes-client/java/blob/master/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java#L45
- Loading branch information
1 parent
d9bedbf
commit 327f178
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters