mirror of
https://github.com/rancher/os.git
synced 2025-08-08 10:08:04 +00:00
Remove commented code
This commit is contained in:
parent
f09df5610f
commit
2ba5c858f9
@ -79,13 +79,6 @@ func RunServices(name string, cfg *config.Config, configs map[string]*project.Se
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
//if config, ok := cfg.BundledServices[service]; ok {
|
|
||||||
// for name, s := range config.SystemContainers {
|
|
||||||
// if err := p.AddConfig(name, s); err != nil {
|
|
||||||
// log.Errorf("Failed to load %s : %v", name, err)
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//} else {
|
|
||||||
bytes, err := LoadServiceResource(service, network, cfg)
|
bytes, err := LoadServiceResource(service, network, cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == util.ErrNoNetwork {
|
if err == util.ErrNoNetwork {
|
||||||
@ -101,7 +94,6 @@ func RunServices(name string, cfg *config.Config, configs map[string]*project.Se
|
|||||||
log.Errorf("Failed to load %s : %v", service, err)
|
log.Errorf("Failed to load %s : %v", service, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
//}
|
|
||||||
|
|
||||||
enabled[service] = true
|
enabled[service] = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user