Skip to content

Commit

Permalink
Merge pull request #21 from smartxworks/fix-folderId
Browse files Browse the repository at this point in the history
bugfix: fix wrong assignment of hostId with folderId
  • Loading branch information
Sczlog authored Nov 11, 2024
2 parents a35fb8a + ce416c7 commit 7a7639e
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 7a7639e

Please sign in to comment.