1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Fix naming of external services (e.g. specified by rancher.services_include)

Add container_name key to service configuration.
This commit is contained in:
Ivan Mikushin
2015-12-17 18:30:16 +05:00
parent 0fc5fcca09
commit f4f59e97cc
5 changed files with 23 additions and 4 deletions

View File

@@ -194,7 +194,6 @@ func amendContainerNames(c *CloudConfig) (*CloudConfig, error) {
c.Rancher.Services,
} {
for k, v := range scm {
v.Name = k
v.ContainerName = k
}
}