Skip to content

Commit

Permalink
bugfix: fix wrong assignment of hostId with folderId
Browse files Browse the repository at this point in the history
  • Loading branch information
Sczlog committed Nov 11, 2024
1 parent a35fb8a commit ce416c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ func expandVmBasicConfig(d *schema.ResourceData) (*VmBasicConfig, error) {
folderId, ok := d.GetOk("folder_id")
if ok {
folderId := folderId.(string)
basicConfig.HostId = &folderId
basicConfig.FolderId = &folderId
}
description, ok := d.GetOk("description")
if ok {
Expand Down

0 comments on commit ce416c7

Please sign in to comment.