Skip to content

Commit

Permalink
Set the devMode to BuildCustomization
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Nov 8, 2024
1 parent 3a974cb commit a9c683f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ type Build struct {

type NewBuildOptions struct {
Name string
DevMode bool
TemplateData v1alpha1.BuildCustomizationSpec
KindConfigPath string
KubeConfigPath string
Expand All @@ -61,7 +60,6 @@ type NewBuildOptions struct {
func NewBuild(opts NewBuildOptions) *Build {
return &Build{
name: opts.Name,
devMode: opts.DevMode,
kindConfigPath: opts.KindConfigPath,
kubeConfigPath: opts.KubeConfigPath,
kubeVersion: opts.KubeVersion,
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/create/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ func create(cmd *cobra.Command, args []string) error {

opts := build.NewBuildOptions{
Name: buildName,
DevMode: devMode,
KubeVersion: kubeVersion,
KubeConfigPath: kubeConfigPath,
KindConfigPath: kindConfigPath,
Expand All @@ -147,6 +146,7 @@ func create(cmd *cobra.Command, args []string) error {
IngressHost: ingressHost,
Port: port,
UsePathRouting: pathRouting,
DevMode: devMode,
},

CustomPackageDirs: absDirPaths,
Expand Down

0 comments on commit a9c683f

Please sign in to comment.