Skip to content

Commit

Permalink
fix NPE in target group logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaslin committed Mar 26, 2018
1 parent e12bec2 commit 4aa4c5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class TitusDeployHandler implements DeployHandler<TitusDeployDescription> {
task.updateStatus BASE_PHASE, "Unable to create load balancing client in target account/region"
return
}
targetGroups.targetGroupARNs.each { targetGroupARN ->
targetGroups?.targetGroupARNs.each { targetGroupARN ->
loadBalancerClient.addLoadBalancer(jobUri, targetGroupARN)
task.updateStatus BASE_PHASE, "Attached ${targetGroupARN} to ${jobUri}"
}
Expand Down

0 comments on commit 4aa4c5f

Please sign in to comment.