mirror of
https://github.com/rancher/os.git
synced 2025-09-16 23:21:19 +00:00
Merge pull request #973 from joshwget/remove-unneeded-code
Remove unneeded service processing code
This commit is contained in:
@@ -217,7 +217,7 @@ func newCoreServiceProject(cfg *config.CloudConfig, useNetwork bool) (*project.P
|
||||
log.Errorf("Failed to parse YAML configuration: %s : %v", service, err)
|
||||
continue
|
||||
}
|
||||
bytes, err = yaml.Marshal(adjustContainerNames(config.StringifyValues(m)))
|
||||
bytes, err = yaml.Marshal(adjustContainerNames(m))
|
||||
if err != nil {
|
||||
log.Errorf("Failed to marshal YAML configuration: %s : %v", service, err)
|
||||
continue
|
||||
@@ -268,7 +268,7 @@ func StageServices(cfg *config.CloudConfig, services ...string) error {
|
||||
return fmt.Errorf("Failed to parse YAML configuration: %s : %v", service, err)
|
||||
}
|
||||
|
||||
bytes, err = yaml.Marshal(config.StringifyValues(m))
|
||||
bytes, err = yaml.Marshal(m)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Failed to marshal YAML configuration: %s : %v", service, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user