Skip to content

Commit

Permalink
Remove checking for parsedCustoms
Browse files Browse the repository at this point in the history
Signed-off-by: joshuabezaleel <joshua.bezaleel@gmail.com>
  • Loading branch information
joshuabezaleel committed Feb 22, 2022
1 parent a334240 commit 47aa48d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkg/porter/generateManifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ func (p *Porter) generateInternalManifest(opts BuildOptions) error {
}
}

if opts.parsedCustoms != nil {
for k, v := range opts.parsedCustoms {
if err = e.SetValue("custom."+k, v); err != nil {
return err
}
for k, v := range opts.parsedCustoms {
if err = e.SetValue("custom."+k, v); err != nil {
return err
}
}

Expand Down

0 comments on commit 47aa48d

Please sign in to comment.