aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Mac-Vicar P <dmacvicar@suse.de>2017-11-24 17:03:50 +0100
committerDuncan Mac-Vicar P <dmacvicar@suse.de>2017-11-24 17:56:44 +0100
commit3ee58ad92b04d1f7f1a086e6c1e2cfba5111995c (patch)
tree0ee53d9fb929a9676c93477f3f94a57192eec478
parent26cc59911233190debece753b8e9e9b91ded4bc8 (diff)
downloadterraform-provider-libvirt-3ee58ad92b04d1f7f1a086e6c1e2cfba5111995c.tar
terraform-provider-libvirt-3ee58ad92b04d1f7f1a086e6c1e2cfba5111995c.tar.gz
Type not needed in literal anymore
-rw-r--r--libvirt/resource_libvirt_domain.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvirt/resource_libvirt_domain.go b/libvirt/resource_libvirt_domain.go
index b19f23f0..829a9d9f 100644
--- a/libvirt/resource_libvirt_domain.go
+++ b/libvirt/resource_libvirt_domain.go
@@ -171,19 +171,19 @@ func resourceLibvirtDomain() *schema.Resource {
Default: "/usr/bin/qemu-system-x86_64",
Optional: true,
},
- "kernel": &schema.Schema{
+ "kernel": {
Type: schema.TypeString,
Required: false,
Optional: true,
ForceNew: false,
},
- "initrd": &schema.Schema{
+ "initrd": {
Type: schema.TypeString,
Required: false,
Optional: true,
ForceNew: false,
},
- "cmdline": &schema.Schema{
+ "cmdline": {
Type: schema.TypeList,
Optional: true,
Required: false,