added debug message
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
f50311de35
commit
eebbfcb258
@ -4,6 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/moby/buildkit/client/llb"
|
"github.com/moby/buildkit/client/llb"
|
||||||
|
"github.com/rs/zerolog/log"
|
||||||
"go.dagger.io/dagger/compiler"
|
"go.dagger.io/dagger/compiler"
|
||||||
"go.dagger.io/dagger/plancontext"
|
"go.dagger.io/dagger/plancontext"
|
||||||
"go.dagger.io/dagger/solver"
|
"go.dagger.io/dagger/solver"
|
||||||
@ -27,6 +28,8 @@ func (c localDirectoryTask) Run(ctx context.Context, pctx *plancontext.Context,
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lg := log.Ctx(ctx)
|
||||||
|
lg.Debug().Str("path", dir.Path).Msg("loading local directory")
|
||||||
opts := []llb.LocalOption{
|
opts := []llb.LocalOption{
|
||||||
withCustomName(v, "Local %s", dir.Path),
|
withCustomName(v, "Local %s", dir.Path),
|
||||||
// Without hint, multiple `llb.Local` operations on the
|
// Without hint, multiple `llb.Local` operations on the
|
||||||
|
Reference in New Issue
Block a user