From 14b7559cd1a5cae107631d8b3adae45c4bfa41f7 Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 17 Dec 2015 00:33:00 +0100 Subject: [PATCH] Fixing Gofmt errors --- builtin/providers/chef/resource_data_bag_test.go | 2 +- builtin/providers/google/resource_compute_instance.go | 2 +- .../providers/google/resource_compute_instance_group_manager.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/providers/chef/resource_data_bag_test.go b/builtin/providers/chef/resource_data_bag_test.go index 92b74e5df..fd6345189 100644 --- a/builtin/providers/chef/resource_data_bag_test.go +++ b/builtin/providers/chef/resource_data_bag_test.go @@ -19,7 +19,7 @@ func TestAccDataBag_basic(t *testing.T) { Steps: []resource.TestStep{ resource.TestStep{ Config: testAccDataBagConfig_basic, - Check: testAccDataBagCheckExists("chef_data_bag.test", &dataBagName), + Check: testAccDataBagCheckExists("chef_data_bag.test", &dataBagName), }, }, }) diff --git a/builtin/providers/google/resource_compute_instance.go b/builtin/providers/google/resource_compute_instance.go index 3359c4d64..8ca766485 100644 --- a/builtin/providers/google/resource_compute_instance.go +++ b/builtin/providers/google/resource_compute_instance.go @@ -3,12 +3,12 @@ package google import ( "fmt" "log" + "strings" "github.com/hashicorp/terraform/helper/hashcode" "github.com/hashicorp/terraform/helper/schema" "google.golang.org/api/compute/v1" "google.golang.org/api/googleapi" - "strings" ) func stringHashcode(v interface{}) int { diff --git a/builtin/providers/google/resource_compute_instance_group_manager.go b/builtin/providers/google/resource_compute_instance_group_manager.go index 77b714312..e8e6b33a5 100644 --- a/builtin/providers/google/resource_compute_instance_group_manager.go +++ b/builtin/providers/google/resource_compute_instance_group_manager.go @@ -243,7 +243,7 @@ func resourceComputeInstanceGroupManagerUpdate(d *schema.ResourceData, meta inte // Wait for the operation to complete err = computeOperationWaitZoneTime(config, op, d.Get("zone").(string), - managedInstanceCount * 4, "Restarting InstanceGroupManagers instances") + managedInstanceCount*4, "Restarting InstanceGroupManagers instances") if err != nil { return err }