From bce21fe6acfb3b6cae797f387414e7a946da93c4 Mon Sep 17 00:00:00 2001 From: Dainis Tillers Date: Mon, 27 Apr 2015 11:42:50 +0300 Subject: [PATCH] Fix - typo in healthcheck names --- resource_compute_http_health_check.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource_compute_http_health_check.go b/resource_compute_http_health_check.go index 7f059b86..75230232 100644 --- a/resource_compute_http_health_check.go +++ b/resource_compute_http_health_check.go @@ -98,7 +98,7 @@ func resourceComputeHttpHealthCheckCreate(d *schema.ResourceData, meta interface if v, ok := d.GetOk("check_interval_sec"); ok { hchk.CheckIntervalSec = int64(v.(int)) } - if v, ok := d.GetOk("health_threshold"); ok { + if v, ok := d.GetOk("healthy_threshold"); ok { hchk.HealthyThreshold = int64(v.(int)) } if v, ok := d.GetOk("port"); ok { @@ -167,7 +167,7 @@ func resourceComputeHttpHealthCheckUpdate(d *schema.ResourceData, meta interface if v, ok := d.GetOk("check_interval_sec"); ok { hchk.CheckIntervalSec = int64(v.(int)) } - if v, ok := d.GetOk("health_threshold"); ok { + if v, ok := d.GetOk("healthy_threshold"); ok { hchk.HealthyThreshold = int64(v.(int)) } if v, ok := d.GetOk("port"); ok {