Skip to content

Commit

Permalink
fix(provider/gce): Fix NPE if no legacy health checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Kiefer committed Nov 1, 2017
1 parent d00dd7d commit 65a9ff2
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 65a9ff2

Please sign in to comment.