Skip to content

Commit

Permalink
fix(provider/gce): Fix NPE if no legacy health checks. (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtk54 authored Nov 1, 2017
1 parent 62270d4 commit e464526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class UpsertGoogleHttpLoadBalancerAtomicOperation extends UpsertGoogleLoadBalanc
"Please specify one object per named backend service.")
}

List<String> legacyHealthCheckNames = legacyHealthChecks*.name
List<String> legacyHealthCheckNames = legacyHealthChecks*.name ?: []
backendServicesFromDescription.each { GoogleBackendService backendService ->
String backendServiceName = backendService.name

Expand Down

0 comments on commit e464526

Please sign in to comment.