Skip to content

Commit

Permalink
Revert "fix: return empty struct if bootconfig is empty"
Browse files Browse the repository at this point in the history
This reverts commit 1c0d5e6.
  • Loading branch information
fad3t committed Oct 17, 2023
1 parent 1c0d5e6 commit 5599d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nutanix/resource_nutanix_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ func preFillResUpdateRequest(res *v3.VMResources, response *v3.VMIntentResponse)
if response.Spec.Resources.BootConfig != nil {
res.BootConfig = response.Spec.Resources.BootConfig
} else {
res.BootConfig = &v3.VMBootConfig{}
res.BootConfig = nil
}
}

Expand Down

0 comments on commit 5599d56

Please sign in to comment.