mirror of
https://github.com/rancher/rke.git
synced 2025-07-01 01:32:37 +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",
|
"/etc/kubernetes:/etc/kubernetes",
|
||||||
},
|
},
|
||||||
Privileged: true,
|
Privileged: true,
|
||||||
RestartPolicy: container.RestartPolicy{Name: "never"},
|
|
||||||
}
|
}
|
||||||
resp, err := host.DClient.ContainerCreate(context.Background(), imageCfg, hostCfg, nil, CrtDownloaderContainer)
|
resp, err := host.DClient.ContainerCreate(context.Background(), imageCfg, hostCfg, nil, CrtDownloaderContainer)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user