We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9894abb commit c35e48dCopy full SHA for c35e48d
pkg/drivers/docker_driver.go
@@ -98,6 +98,9 @@ func (d *DockerDriver) Destroy() {
98
}
99
100
func (d *DockerDriver) SetEnv(envVars []unversioned.EnvVar) error {
101
+ if len(envVars) == 0 {
102
+ return nil
103
+ }
104
env := d.processEnvVars(envVars)
105
container, err := d.cli.CreateContainer(docker.CreateContainerOptions{
106
Platform: d.platform,
0 commit comments