-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic when pod IP is not yet assigned (#507)
* Fix panic when pod IP is not yet assigned Pods with no IP are filtered out in the TopologyBuilder. When collecting the different pods for a TrafficTarget, we are refering to a pod which can have been excluded. This is done without checking if the key is in the map, leading to a panic. This commit intent to be more protective on map access. In the same time, log message and errors have been cleaned so they don't mention two times the same information and use the Key everywhere instead of the "namespace/name" format. * fix: Repare ACLDisabledSuite.TestSplitTraffic
- Loading branch information
Showing
2 changed files
with
77 additions
and
55 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
Oops, something went wrong.