Skip to content

Commit

Permalink
Fix health check state mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tumido committed Jun 18, 2018
1 parent c0c3d79 commit c1d3bae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def parse_load_balancer_health_check_members(target_pool)
# "OutOfService" if we can't find a mapping.
status = "OutOfService"
unless instance_health.nil?
gcp_status = instance_health[0]["healthState"]
gcp_status = instance_health[0][:health_state]

if GCP_HEALTH_STATUS_MAP.include?(gcp_status)
status = GCP_HEALTH_STATUS_MAP[gcp_status]
Expand Down

0 comments on commit c1d3bae

Please sign in to comment.