From c2e0080e8a9d72d4649f2ca4bcfa3a9e0c25b95f Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Wed, 11 Jan 2023 14:04:42 -0800 Subject: [PATCH] nit Signed-off-by: Kevin Su --- go/tasks/plugins/array/awsbatch/transformer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go/tasks/plugins/array/awsbatch/transformer.go b/go/tasks/plugins/array/awsbatch/transformer.go index a2dddf04e..6b6da84fb 100644 --- a/go/tasks/plugins/array/awsbatch/transformer.go +++ b/go/tasks/plugins/array/awsbatch/transformer.go @@ -136,7 +136,7 @@ func getEnvVarsForTask(ctx context.Context, execID pluginCore.TaskExecutionID, c for key, value := range defaultEnvVars { m[key] = value } - + m[failOnError] = "true" finalEnvVars := make([]v1.EnvVar, 0, len(m)) for key, val := range m { finalEnvVars = append(finalEnvVars, v1.EnvVar{ @@ -144,7 +144,6 @@ func getEnvVarsForTask(ctx context.Context, execID pluginCore.TaskExecutionID, c Value: val, }) } - finalEnvVars = append(finalEnvVars, v1.EnvVar{Name: failOnError, Value: "true"}) return finalEnvVars }