Skip to content

Commit eb63f16

Browse files
authored
Use tpgresource.TerraformResourceData in expandReservationAffinity function (#13062)
1 parent 11b51ce commit eb63f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmv1/third_party/terraform/services/compute/compute_instance_helpers.go.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ func hasNodeAffinitiesChanged(oScheduling, newScheduling map[string]interface{})
980980
return false
981981
}
982982

983-
func expandReservationAffinity(d *schema.ResourceData) (*compute.ReservationAffinity, error) {
983+
func expandReservationAffinity(d tpgresource.TerraformResourceData) (*compute.ReservationAffinity, error) {
984984
_, ok := d.GetOk("reservation_affinity")
985985
if !ok {
986986
return nil, nil

0 commit comments

Comments
 (0)