From 968341fb74a108a17d397cb61ece0dd68ac3f0a9 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 13 Jan 2021 14:28:32 -0800 Subject: [PATCH] env: no pointer to mutex Signed-off-by: Andrea Luzzardi --- dagger/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger/env.go b/dagger/env.go index 4c6934bc..2f9763bc 100644 --- a/dagger/env.go +++ b/dagger/env.go @@ -105,7 +105,7 @@ type EnvWalkFunc func(*Component, Fillable) error func (env *Env) Walk(ctx context.Context, fn EnvWalkFunc) (*Value, error) { debugf("Env.Walk") defer debugf("COMPLETE: Env.Walk") - l := &sync.Mutex{} + l := sync.Mutex{} // Cueflow cue instance // FIXME: make this cleaner in *Value by keeping intermediary instances flowInst, err := env.base.CueInst().Fill(env.input.CueInst().Value())