-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validation: split out pringDiag from testNamespaceInheritType
To be able to deal with diagnostics in a general way, split out the diagnostics handling code into a new function `pringDiag()`, which will be normally called from the defer function's context. This way we can simplify the error handling routines. Signed-off-by: Dongsu Park <dongsu@kinvolk.io>
- Loading branch information
Dongsu Park
committed
Apr 23, 2018
1 parent
1ac1c02
commit e830fa3
Showing
1 changed file
with
62 additions
and
19 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