Skip to content

Commit 55e4ee8

Browse files
[#18217] Update schedulingHasChangeWithoutReboot to force reboot if min_node_cpus is updated (#10904) (#18420)
[upstream:3f3c75e1fd37c6f4f9d195b0ac06acf6bcea811f] Signed-off-by: Modular Magician <[email protected]>
1 parent 663a339 commit 55e4ee8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.changelog/10904.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
compute: Updated schedulingHasChangeWithoutReboot to force reboot if min_node_cpus is updated.
3+
```

google/services/compute/compute_instance_helpers.go

-4
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,6 @@ func schedulingHasChangeWithoutReboot(d *schema.ResourceData) bool {
557557
return true
558558
}
559559

560-
if oScheduling["min_node_cpus"] != newScheduling["min_node_cpus"] {
561-
return true
562-
}
563-
564560
if oScheduling["provisioning_model"] != newScheduling["provisioning_model"] {
565561
return true
566562
}

0 commit comments

Comments
 (0)