Skip to content
Permalink
Browse files
fix(render): do not set empty env in werf render without repo param
Make werf render work the same way without --repo param as with this param.

Closes #4659

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Aug 22, 2022
1 parent c88eeb3 commit 2c4bdffa816a8c8a5496facec886b4eb9a11b36c
Showing 1 changed file with 0 additions and 3 deletions.
@@ -70,9 +70,6 @@ func GetServiceValues(ctx context.Context, projectName, repo string, imageInfoGe
if opts.Env != "" {
globalInfo["env"] = opts.Env
werfInfo["env"] = opts.Env
} else if opts.IsStub {
globalInfo["env"] = ""
werfInfo["env"] = ""
}

if opts.Namespace != "" {

0 comments on commit 2c4bdff

Please sign in to comment.