From 47aa48dc6f7d653288797a96d29265e99dc363fb Mon Sep 17 00:00:00 2001 From: joshuabezaleel Date: Tue, 22 Feb 2022 10:07:01 +0700 Subject: [PATCH] Remove checking for parsedCustoms Signed-off-by: joshuabezaleel --- pkg/porter/generateManifest.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkg/porter/generateManifest.go b/pkg/porter/generateManifest.go index 955ebe7871..5ddb4869aa 100644 --- a/pkg/porter/generateManifest.go +++ b/pkg/porter/generateManifest.go @@ -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 } }