Skip to content

Commit

Permalink
fix(aws): Resolve BasicAmazonDeployDescription NPE when returning nam…
Browse files Browse the repository at this point in the history
…es of loadBalancers, targetGroups, and securityGroupNames (#4537)
  • Loading branch information
jonsie authored Apr 22, 2020
1 parent c521478 commit 4ddcc33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class BasicAmazonDeployDescription extends AbstractAmazonCredentialsDescription

@Override
Collection<String> getNames() {
return loadBalancers + targetGroups + securityGroupNames
return (loadBalancers ?: []) + (targetGroups ?: []) + (securityGroupNames ?: [])
}

@Override
Expand Down

0 comments on commit 4ddcc33

Please sign in to comment.