mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
Move runtime config logging into separate function
This should only happen when needed, so moving this to a dedicated function that is called on startup
This commit is contained in:
@@ -119,7 +119,9 @@ func (config *configEnvs) Read() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func (config *configEnvs) LogValues() {
|
||||
s := reflect.ValueOf(config).Elem()
|
||||
typeOfT := s.Type()
|
||||
for i := 0; i < s.NumField(); i++ {
|
||||
|
||||
Reference in New Issue
Block a user