Skip to content

Commit

Permalink
fix(titus clone): remove env variables if empty on clone
Browse files Browse the repository at this point in the history
  • Loading branch information
emjburns authored and tomaslin committed Mar 26, 2018
1 parent f958e61 commit fd808a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class TitusDeployHandler implements DeployHandler<TitusDeployDescription> {
description.resources.gpu = description.resources.gpu ?: sourceJob.gpu
description.resources.networkMbps = description.resources.networkMbps ?: sourceJob.networkMbps
description.efs = description.efs ?: sourceJob.efs
description.env = description.env ?: sourceJob.environment
description.env = description.env != null ? description.env : sourceJob.environment
description.resources.allocateIpAddress = description.resources.allocateIpAddress ?: sourceJob.allocateIpAddress
description.entryPoint = description.entryPoint ?: sourceJob.entryPoint
description.iamProfile = description.iamProfile ?: sourceJob.iamProfile
Expand Down

0 comments on commit fd808a3

Please sign in to comment.