1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 23:21:19 +00:00

add kexec previous

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-06 11:37:18 +10:00
parent 0d9fd52c42
commit 340bb42160
4 changed files with 50 additions and 28 deletions

View File

@@ -64,6 +64,7 @@ func LoadConfigWithPrefix(dirPrefix string) *CloudConfig {
cfg := &CloudConfig{}
if err := util.Convert(rawCfg, cfg); err != nil {
log.Errorf("Failed to parse configuration: %s", err)
log.Debugf("Bad cfg:\n%v\n", rawCfg)
return &CloudConfig{}
}
cfg = amendNils(cfg)