Skip to content

Commit

Permalink
Changes for upgraded googleapi library (GoogleCloudPlatform#3386)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisst authored and Nathan Klish committed May 18, 2020
1 parent 31ae597 commit 3ff3649
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,8 @@ func expandSqlDatabaseInstanceSettings(configured []interface{}, secondGen bool)
// 1st Generation instances don't support the disk_autoresize parameter
// and it defaults to true - so we shouldn't set it if this is first gen
if secondGen {
settings.StorageAutoResize = _settings["disk_autoresize"].(bool)
resize := _settings["disk_autoresize"].(bool)
settings.StorageAutoResize = &resize
}

return settings
Expand Down

0 comments on commit 3ff3649

Please sign in to comment.