Skip to content

Commit

Permalink
Convert handwritten erb files (part 2) (#10997)
Browse files Browse the repository at this point in the history
[upstream:c503a56dfae490edb5db6f8782066e0f8885590f]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Jun 20, 2024
1 parent f53ee08 commit 69b982e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/10997.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
1 change: 0 additions & 1 deletion google/services/compute/resource_compute_health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,6 @@ func expandComputeHealthCheckLogConfigEnable(v interface{}, d tpgresource.Terraf
}

func resourceComputeHealthCheckEncoder(d *schema.ResourceData, meta interface{}, obj map[string]interface{}) (map[string]interface{}, error) {

if _, ok := d.GetOk("http_health_check"); ok {
hc := d.Get("http_health_check").([]interface{})[0]
ps := hc.(map[string]interface{})["port_specification"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,6 @@ func expandComputeRegionHealthCheckRegion(v interface{}, d tpgresource.Terraform
}

func resourceComputeRegionHealthCheckEncoder(d *schema.ResourceData, meta interface{}, obj map[string]interface{}) (map[string]interface{}, error) {

if _, ok := d.GetOk("http_health_check"); ok {
hc := d.Get("http_health_check").([]interface{})[0]
ps := hc.(map[string]interface{})["port_specification"]
Expand Down

0 comments on commit 69b982e

Please sign in to comment.