Refactor code and update comments
This commit is contained in:
1 parent
53e1012ca1
commit
5850ed82e4
2 files changed
+21
-25
No files matched your search
@@ -87,6 +87,7 @@ func Get() *Config {
|
||||
}
|
||||
|
||||
// Load loads a custom configuration file
|
||||
// Note that the misconfiguration of some fields may lead to panics. This is on purpose.
|
||||
func Load(configFile string) error {
|
||||
log.Printf("[config][Load] Reading configuration from configFile=%s", configFile)
|
||||
cfg, err := readConfigurationFile(configFile)
|
||||
|
||||
Reference in new issue
Block a user