Skip to content

Commit

Permalink
rename to mostDisruptiveAllowedAction (GoogleCloudPlatform#6841)
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Sun <sunedward@google.com>
Fixes hashicorp/terraform-provider-google#13062
  • Loading branch information
edwardmedia authored and hao-nan-li committed Dec 6, 2022
1 parent 2f0f37b commit adeda39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mostDisruptiveAction := d.Get("most_disruptive_allowed_action")
if isEmptyValue(reflect.ValueOf(mostDisruptiveAction)) {
mostDisruptiveAction = "REPLACE"
}
obj["mostDisruptiveActionAllowed"] = mostDisruptiveAction
obj["mostDisruptiveAllowedAction"] = mostDisruptiveAction

url, err = replaceVars(d, config, "{{ComputeBasePath}}projects/{{project}}/zones/{{zone}}/instanceGroupManagers/{{instance_group_manager}}/applyUpdatesToInstances")
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mostDisruptiveAction := d.Get("most_disruptive_allowed_action")
if isEmptyValue(reflect.ValueOf(mostDisruptiveAction)) {
mostDisruptiveAction = "REPLACE"
}
obj["mostDisruptiveActionAllowed"] = mostDisruptiveAction
obj["mostDisruptiveAllowedAction"] = mostDisruptiveAction

url, err = replaceVars(d, config, "{{ComputeBasePath}}projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{region_instance_group_manager}}/applyUpdatesToInstances")
if err != nil {
Expand Down

0 comments on commit adeda39

Please sign in to comment.