Merge pull request #2290 from giuseppe/cleanup-use-correct-runtime

cleanup: use the correct runtime
This commit is contained in:
OpenShift Merge Robot 2019-02-07 19:21:46 +01:00 committed by GitHub
commit e39a7dc6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -331,6 +331,9 @@ func (c *CreateConfig) createExitCommand() []string {
"--cgroup-manager", config.CgroupManager,
"--tmpdir", config.TmpDir,
}
if config.OCIRuntime != "" {
command = append(command, []string{"--runtime", config.OCIRuntime}...)
}
if config.StorageConfig.GraphDriverName != "" {
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
}