From 6eafb37aba530b9c1b5e816923e64ded512adf34 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 23 Feb 2024 17:40:52 +0100 Subject: [PATCH] nit: compiler.Compile explizite init Environment map --- pipeline/frontend/yaml/compiler/compiler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/frontend/yaml/compiler/compiler.go b/pipeline/frontend/yaml/compiler/compiler.go index ee489d119..8c36df2f7 100644 --- a/pipeline/frontend/yaml/compiler/compiler.go +++ b/pipeline/frontend/yaml/compiler/compiler.go @@ -182,7 +182,7 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er Name: defaultCloneName, Image: cloneImage, Settings: cloneSettings, - Environment: map[string]any{}, + Environment: make(map[string]any), } for k, v := range c.cloneEnv { container.Environment[k] = v