-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add an ability to run a function in a named context
Added a method to ConfigManager to run a specified function in a named context. The named context can be a kubectl context or a pxc context. Also, - fixed a bug in NewConfigManagerForContext() that was preventing a context switch when run directly under pxc. - added back the validations for pxc config.yaml that were commented out. Lack of validation was causing a seg fault if the config file was missing a current context etc. Signed-off-by: Neelesh Thakur <[email protected]>
- Loading branch information
1 parent
3d70822
commit 9f80900
Showing
2 changed files
with
45 additions
and
21 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