From ba4ec0097a47820db3bd686fdb708eca3b717d74 Mon Sep 17 00:00:00 2001 From: Jeff LaPlante Date: Tue, 5 Apr 2016 09:21:23 -0700 Subject: [PATCH] fixed formatting --- .../cloudstack/resource_cloudstack_instance.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/builtin/providers/cloudstack/resource_cloudstack_instance.go b/builtin/providers/cloudstack/resource_cloudstack_instance.go index 315b99ad3..75b1ce06e 100644 --- a/builtin/providers/cloudstack/resource_cloudstack_instance.go +++ b/builtin/providers/cloudstack/resource_cloudstack_instance.go @@ -94,11 +94,11 @@ func resourceCloudStackInstance() *schema.Resource { Default: false, }, - "group": &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Computed: true, - }, + "group": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Computed: true, + }, }, } } @@ -199,10 +199,10 @@ func resourceCloudStackInstanceCreate(d *schema.ResourceData, meta interface{}) p.SetUserdata(ud) } - // If there is a group supplied, add it to the parameter struct - if group, ok := d.GetOk("group"); ok { - p.SetGroup(group.(string)) - } + // If there is a group supplied, add it to the parameter struct + if group, ok := d.GetOk("group"); ok { + p.SetGroup(group.(string)) + } // Create the new instance r, err := cs.VirtualMachine.DeployVirtualMachine(p)