Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored Apr 18, 2024
1 parent 0370d3c commit 4620bdd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func flattenAppEngineStandardAppVersionAutomaticScaling(v interface{}, d *schema
transformed["standard_scheduler_settings"] =
flattenAppEngineStandardAppVersionAutomaticScalingStandardSchedulerSettings(original["standardSchedulerSettings"], d, config)

// begin handwritten code (all other parts of this file are forked from generated code)
// solve for the following diff when no scaling settings are configured:
//
// - automatic_scaling {
Expand All @@ -59,6 +60,7 @@ func flattenAppEngineStandardAppVersionAutomaticScaling(v interface{}, d *schema
transformed["standard_scheduler_settings"] == nil {
return nil
}
// end handwritten code

return []interface{}{transformed}
}
Expand Down

0 comments on commit 4620bdd

Please sign in to comment.