Fix nits + cue.mod I let slip through

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-01-07 21:32:15 -07:00
parent 62b58f7e39
commit 83d6f52e10
3 changed files with 1 additions and 7 deletions

View File

@ -115,7 +115,7 @@ func (t *buildTask) dockerfile(ctx context.Context, pctx *plancontext.Context, s
return nil, err return nil, err
} }
var solvedRef bkgw.Reference solvedRef := ref
if ref != nil { if ref != nil {
st, err := ref.ToState() st, err := ref.ToState()
if err != nil { if err != nil {
@ -126,8 +126,6 @@ func (t *buildTask) dockerfile(ctx context.Context, pctx *plancontext.Context, s
if err != nil { if err != nil {
return nil, err return nil, err
} }
} else {
solvedRef = ref
} }
// Image metadata // Image metadata

View File

@ -1 +0,0 @@
module: ""

View File

@ -1,3 +0,0 @@
# generated by dagger
alpha.dagger.io
dagger.lock