mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
Fix boot issues due to invalid configs
This commit is contained in:
@@ -89,12 +89,9 @@ func loadImages(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
||||
}
|
||||
|
||||
func SysInit() error {
|
||||
cfg, err := config.LoadConfig()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
cfg := config.LoadConfig()
|
||||
|
||||
_, err = config.ChainCfgFuncs(cfg,
|
||||
_, err := config.ChainCfgFuncs(cfg,
|
||||
loadImages,
|
||||
func(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
||||
p, err := compose.GetProject(cfg, false)
|
||||
|
Reference in New Issue
Block a user