mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Refactor configuration
This commit is contained in:
@@ -263,7 +263,10 @@ func RunInit() error {
|
||||
}
|
||||
|
||||
if cfg.Debug {
|
||||
log.Debugf("Config: %s", cfg.Dump())
|
||||
cfgString, _ := cfg.Dump()
|
||||
if cfgString != "" {
|
||||
log.Debugf("Config: %s", cfgString)
|
||||
}
|
||||
}
|
||||
|
||||
return err
|
||||
|
Reference in New Issue
Block a user