forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ConfigErrors.Extend so that
nil.Extend(nil) == nil
. (istio#453)
Previously such a call would return a zero-value ConfigErrors, breaking the standard `if ce := foo(); ce != nil { ... }` if ConfigErrors.Extend was used anywhere during the construction of the error in `foo` (or any of the methods it calls, transitively). Former-commit-id: fe4de8be19dc07b25c32029b549617f6a4b5a509
- Loading branch information
1 parent
e557072
commit 4013ac3
Showing
2 changed files
with
14 additions
and
5 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