Skip to content

Commit

Permalink
Allow vertical pod autoscaling to be computed, auto_pilot can enable …
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSuarez authored and lcaggio committed Mar 18, 2022
1 parent 897c2d3 commit 9beef45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3053,7 +3053,7 @@ func expandClusterAddonsConfig(configured interface{}) *container.AddonsConfig {
ForceSendFields: []string{"Disabled"},
}
}

if v, ok := config["gcp_filestore_csi_driver_config"]; ok && len(v.([]interface{})) > 0 {
addon := v.([]interface{})[0].(map[string]interface{})
ac.GcpFilestoreCsiDriverConfig = &container.GcpFilestoreCsiDriverConfig{
Expand Down Expand Up @@ -3719,7 +3719,7 @@ func flattenClusterAddonsConfig(c *container.AddonsConfig) []map[string]interfac
},
}
}

if c.GcpFilestoreCsiDriverConfig != nil {
result["gcp_filestore_csi_driver_config"] = []map[string]interface{}{
{
Expand Down

0 comments on commit 9beef45

Please sign in to comment.