New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring to prevent multiple configuration loads #131
Conversation
load function is new private function to load config on init() of config package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2017/04/07 16:25:54 could not prepare sql: INSERT INTO prest.public.test6 (prest) VALUES ($1) RETURNING nuveo
Error: pq: column "prest" of relation "test6" does not exist
Codecov Report
@@ Coverage Diff @@
## master #131 +/- ##
==========================================
- Coverage 89.6% 89.37% -0.23%
==========================================
Files 10 10
Lines 827 828 +1
==========================================
- Hits 741 740 -1
- Misses 55 56 +1
- Partials 31 32 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Remove unnecessary code * Remove unnecessary code * Remove unnecessary code * update test to use load instead of InitConf load function is new private function to load config on init() of config package * Remove unnecessary code * A small refactoring to prevent multiple configuration loads * remove InitConf
* Remove unnecessary code * Remove unnecessary code * Remove unnecessary code * update test to use load instead of InitConf load function is new private function to load config on init() of config package * Remove unnecessary code * A small refactoring to prevent multiple configuration loads * remove InitConf
* Remove unnecessary code * Remove unnecessary code * Remove unnecessary code * update test to use load instead of InitConf load function is new private function to load config on init() of config package * Remove unnecessary code * A small refactoring to prevent multiple configuration loads * remove InitConf
* Remove unnecessary code * Remove unnecessary code * Remove unnecessary code * update test to use load instead of InitConf load function is new private function to load config on init() of config package * Remove unnecessary code * A small refactoring to prevent multiple configuration loads * remove InitConf
Prevent multiple configuration loads
Remove unnecessary code
Remove redundant variables