mirror of
https://github.com/rancher/rke.git
synced 2025-06-29 08:47:53 +00:00
Merge pull request #80 from superseb/defaultrestartpolicy
Remove invalid RestartPolicy
This commit is contained in:
commit
b4f45be1ff
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user