Plan.Up -> Plan.Do

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-03-08 12:51:51 -07:00
parent d45c259501
commit 8c4157c3d8

View File

@ -4,6 +4,7 @@ import (
"context" "context"
"os" "os"
"cuelang.org/go/cue"
"go.dagger.io/dagger/cmd/dagger/cmd/common" "go.dagger.io/dagger/cmd/dagger/cmd/common"
"go.dagger.io/dagger/cmd/dagger/logger" "go.dagger.io/dagger/cmd/dagger/logger"
"go.dagger.io/dagger/plan" "go.dagger.io/dagger/plan"
@ -62,7 +63,7 @@ var upCmd = &cobra.Command{
} }
err = cl.Do(ctx, p.Context(), func(ctx context.Context, s solver.Solver) error { err = cl.Do(ctx, p.Context(), func(ctx context.Context, s solver.Solver) error {
err := p.Do(ctx, p.Action().Path, s) err := p.Do(ctx, cue.MakePath(), s)
return err return err
}) })