-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move 'new EnvConfigs()' towards the outer shell of the app for improv…
…ed configuration control (#6925) * Moving 'new EnvConfigs()' to the outer shell of the app for increased configuration control. * Cleaned up singleton behavior to make initialization more predictable and enforced. * Made the singleton a true singleton; enforced init() call; moved EnvConfigs to top level. * Refactored to move EnvConfigs to top level, which meant putting port config into the factory. * Modified KubePodProcess test to avoid reinitializing the factory and thus singleton's ports, each time. * Solve test init issues based on what needs to be static. Co-authored-by: Davin Chia <[email protected]>
- Loading branch information
1 parent
d5c0499
commit 378e8e0
Showing
20 changed files
with
211 additions
and
135 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
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
Oops, something went wrong.