mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-05 17:52:38 +00:00
send maintenance_window.hour even if it's zero, since that's a valid value (#2630)
This commit is contained in:
parent
cd6ec96c6e
commit
0533cab84d
|
@ -597,6 +597,7 @@ func expandMaintenanceWindow(configured []interface{}) *sqladmin.MaintenanceWind
|
|||
Day: int64(window["day"].(int)),
|
||||
Hour: int64(window["hour"].(int)),
|
||||
UpdateTrack: window["update_track"].(string),
|
||||
ForceSendFields: []string{"Hour"},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -623,7 +624,7 @@ func expandIpConfiguration(configured []interface{}) *sqladmin.IpConfiguration {
|
|||
Ipv4Enabled: _ipConfiguration["ipv4_enabled"].(bool),
|
||||
RequireSsl: _ipConfiguration["require_ssl"].(bool),
|
||||
AuthorizedNetworks: expandAuthorizedNetworks(_ipConfiguration["authorized_networks"].(*schema.Set).List()),
|
||||
ForceSendFields: []string{"Ipv4Enabled"},
|
||||
ForceSendFields: []string{"Ipv4Enabled", "RequireSsl"},
|
||||
}
|
||||
}
|
||||
func expandAuthorizedNetworks(configured []interface{}) []*sqladmin.AclEntry {
|
||||
|
|
Loading…
Reference in New Issue
Block a user