Skip to content

Commit

Permalink
Fixing duplication after rebasing against main
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
  • Loading branch information
jjbustamante committed Apr 5, 2024
1 parent 2de1335 commit 3c2a901
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ type moduleWithDiffID struct {
type BuilderOption func(*options) error

type options struct {
runImage string
toFlatten buildpack.FlattenModuleInfos
labels map[string]string
runImage string
Expand All @@ -115,13 +114,6 @@ func WithRunImage(name string) BuilderOption {
}
}

func WithRunImage(name string) BuilderOption {
return func(o *options) error {
o.runImage = name
return nil
}
}

// FromImage constructs a builder from a builder image
func FromImage(img imgutil.Image) (*Builder, error) {
return constructBuilder(img, "", true)
Expand Down

0 comments on commit 3c2a901

Please sign in to comment.