File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -594,9 +594,10 @@ func expandMaintenanceWindow(configured []interface{}) *sqladmin.MaintenanceWind
594
594
595
595
window := configured [0 ].(map [string ]interface {})
596
596
return & sqladmin.MaintenanceWindow {
597
- Day : int64 (window ["day" ].(int )),
598
- Hour : int64 (window ["hour" ].(int )),
599
- UpdateTrack : window ["update_track" ].(string ),
597
+ Day : int64 (window ["day" ].(int )),
598
+ Hour : int64 (window ["hour" ].(int )),
599
+ UpdateTrack : window ["update_track" ].(string ),
600
+ ForceSendFields : []string {"Hour" },
600
601
}
601
602
}
602
603
@@ -623,7 +624,7 @@ func expandIpConfiguration(configured []interface{}) *sqladmin.IpConfiguration {
623
624
Ipv4Enabled : _ipConfiguration ["ipv4_enabled" ].(bool ),
624
625
RequireSsl : _ipConfiguration ["require_ssl" ].(bool ),
625
626
AuthorizedNetworks : expandAuthorizedNetworks (_ipConfiguration ["authorized_networks" ].(* schema.Set ).List ()),
626
- ForceSendFields : []string {"Ipv4Enabled" },
627
+ ForceSendFields : []string {"Ipv4Enabled" , "RequireSsl" },
627
628
}
628
629
}
629
630
func expandAuthorizedNetworks (configured []interface {}) []* sqladmin.AclEntry {
You can’t perform that action at this time.
0 commit comments