From 29ec1a1d27bc85fea38412d503be4750e4297020 Mon Sep 17 00:00:00 2001 From: Demian Date: Wed, 7 Apr 2021 11:30:36 +0200 Subject: [PATCH] fix: power_state_mechanism hot plug disable reboot on update --- nutanix/resource_nutanix_virtual_machine.go | 1 - 1 file changed, 1 deletion(-) diff --git a/nutanix/resource_nutanix_virtual_machine.go b/nutanix/resource_nutanix_virtual_machine.go index 308014eae..2cef72fe0 100644 --- a/nutanix/resource_nutanix_virtual_machine.go +++ b/nutanix/resource_nutanix_virtual_machine.go @@ -1230,7 +1230,6 @@ func resourceNutanixVirtualMachineUpdate(d *schema.ResourceData, meta interface{ if d.HasChange("power_state_mechanism") { _, n := d.GetChange("power_state_mechanism") pw.Mechanism = utils.StringPtr(n.(string)) - hotPlugChange = false } if d.HasChange("power_state_guest_transition_config") { _, n := d.GetChange("power_state_guest_transition_config")