Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>tags/v0.5.1
| @@ -371,7 +371,6 @@ func PrepareStorage(workerParam *WorkerParam) { | |||||
| ) | ) | ||||
| } | } | ||||
| } | } | ||||
| workerParam.Mounts = mounts | workerParam.Mounts = mounts | ||||
| } | } | ||||
| @@ -387,7 +386,6 @@ func PrepareSecret(workerParam *WorkerParam) []v1.EnvVar { | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| return secretEnvs | return secretEnvs | ||||
| } | } | ||||
| @@ -437,7 +435,6 @@ func PrepareHostPath(workerParam *WorkerParam) ([]v1.Volume, []v1.VolumeMount, [ | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| return volumes, volumeMounts, initContainerVolumeMounts | return volumes, volumeMounts, initContainerVolumeMounts | ||||
| } | } | ||||
| @@ -304,7 +304,6 @@ func injectDeploymentParam(deployment *appsv1.Deployment, workerParam *WorkerPar | |||||
| deployment.Spec.Template.Spec.Containers[idx].Env, envs..., | deployment.Spec.Template.Spec.Containers[idx].Env, envs..., | ||||
| ) | ) | ||||
| } | } | ||||
| } | } | ||||
| // createEnvVars creates EnvMap for container | // createEnvVars creates EnvMap for container | ||||