Skip to content

Commit

Permalink
#25 fix Project no longer builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Gongaware committed Nov 9, 2018
1 parent 3f91d2f commit 3f07e92
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions proxmox/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ func applyFn(ctx context.Context) error {
return err
}
time.Sleep(10 * time.Second)
vmParams := map[string]string{
"net1": data.Get("net1").(string),
}
var vmParams map[string]interface{}
vmParams["net1"] = data.Get("net1").(string)
_, err = client.SetVmConfig(vmr, vmParams)
time.Sleep(10 * time.Second)
return err
Expand Down

1 comment on commit 3f07e92

@sh3llf1sh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the swift fix! This provider is a godsend :L

Please sign in to comment.