mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Fix - typo in healthcheck names
This commit is contained in:
parent
b99fce59e3
commit
bce21fe6ac
@ -98,7 +98,7 @@ func resourceComputeHttpHealthCheckCreate(d *schema.ResourceData, meta interface
|
|||||||
if v, ok := d.GetOk("check_interval_sec"); ok {
|
if v, ok := d.GetOk("check_interval_sec"); ok {
|
||||||
hchk.CheckIntervalSec = int64(v.(int))
|
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))
|
hchk.HealthyThreshold = int64(v.(int))
|
||||||
}
|
}
|
||||||
if v, ok := d.GetOk("port"); ok {
|
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 {
|
if v, ok := d.GetOk("check_interval_sec"); ok {
|
||||||
hchk.CheckIntervalSec = int64(v.(int))
|
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))
|
hchk.HealthyThreshold = int64(v.(int))
|
||||||
}
|
}
|
||||||
if v, ok := d.GetOk("port"); ok {
|
if v, ok := d.GetOk("port"); ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user