This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
envoy/cds: add nil check for ConnectionSettings (#4821)
With the addition of rate limiting to the UpstreamTrafficSetting spec, it is possible for the UpstreamTrafficSetting object to be non nil while having its ConnectionSettings as nil. Add nil check so the code doesn't panic when ConnectionSettings is nil and RateLimit is configured. Signed-off-by: Shashank Ram <shashr2204@gmail.com>
- Loading branch information
1 parent
5ee33f3
commit a5b3716
Showing
2 changed files
with
12 additions
and
2 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
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