1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-28 16:27:58 +00:00

Merge pull request #80 from superseb/defaultrestartpolicy

Remove invalid RestartPolicy
This commit is contained in:
Alena Prokharchyk
2017-11-30 09:30:23 -08:00
committed by GitHub

View File

@@ -76,7 +76,6 @@ func doRunDeployer(host *hosts.Host, containerEnv []string) error {
"/etc/kubernetes:/etc/kubernetes",
},
Privileged: true,
RestartPolicy: container.RestartPolicy{Name: "never"},
}
resp, err := host.DClient.ContainerCreate(context.Background(), imageCfg, hostCfg, nil, CrtDownloaderContainer)
if err != nil {