Skip to content

Commit

Permalink
Fix build path for non-module builds, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
halvards committed May 18, 2021
1 parent e2538ab commit c988337
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/build/gobuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -585,10 +585,6 @@ func (g *gobuild) buildOne(ctx context.Context, s string, base v1.Image, platfor
}

// Do the build into a temporary file.
fmt.Printf("ref: %v\n", ref)
fmt.Printf("ref.Path(): %v\n", ref.Path())
fmt.Printf("g.mod: %v\n", g.mod)
fmt.Printf("g.dir: %v\n", g.dir)
file, err := g.build(ctx, ref.Path(), g.dir, *platform, g.disableOptimizations)
if err != nil {
return nil, err
Expand Down

0 comments on commit c988337

Please sign in to comment.