From eebbfcb2585d058f7e15e54ccf868574ebc0d445 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 16 Dec 2021 14:39:34 -0700 Subject: [PATCH] added debug message Signed-off-by: Richard Jones --- plan/task/localDirectory.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plan/task/localDirectory.go b/plan/task/localDirectory.go index f01e9d96..289c55fa 100644 --- a/plan/task/localDirectory.go +++ b/plan/task/localDirectory.go @@ -4,6 +4,7 @@ import ( "context" "github.com/moby/buildkit/client/llb" + "github.com/rs/zerolog/log" "go.dagger.io/dagger/compiler" "go.dagger.io/dagger/plancontext" "go.dagger.io/dagger/solver" @@ -27,6 +28,8 @@ func (c localDirectoryTask) Run(ctx context.Context, pctx *plancontext.Context, return nil, err } + lg := log.Ctx(ctx) + lg.Debug().Str("path", dir.Path).Msg("loading local directory") opts := []llb.LocalOption{ withCustomName(v, "Local %s", dir.Path), // Without hint, multiple `llb.Local` operations on the