-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the code uses a single viper which requires viper.Reset() and reinitialization when switching between config files. It's better to user multiple vipers to identify the config files. Add multiple vipers and identify the main config file with MainConfig. Signed-off-by: Prarit Bhargava <prarit@redhat.com>
- Loading branch information
Showing
2 changed files
with
75 additions
and
53 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