From fb33f8bc6217ed0082fb1215f3f7c55fa260f08b Mon Sep 17 00:00:00 2001 From: Christopher Winkelmann Date: Fri, 17 May 2019 01:56:17 +0200 Subject: [PATCH] Fixed schema type and default value for agent field in resourceVmQemu --- proxmox/resource_vm_qemu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index 5d3aa9b..17f0911 100644 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -48,9 +48,9 @@ func resourceVmQemu() *schema.Resource { Default: true, }, "agent": { - Type: schema.TypeString, + Type: schema.TypeInt, Optional: true, - Default: "1", + Default: 1, }, "iso": { Type: schema.TypeString,