Fixing Gofmt errors

pull/4355/head
stack72 11 years ago
parent d4e4fb6ea0
commit 14b7559cd1

@ -19,7 +19,7 @@ func TestAccDataBag_basic(t *testing.T) {
Steps: []resource.TestStep{ Steps: []resource.TestStep{
resource.TestStep{ resource.TestStep{
Config: testAccDataBagConfig_basic, Config: testAccDataBagConfig_basic,
Check: testAccDataBagCheckExists("chef_data_bag.test", &dataBagName), Check: testAccDataBagCheckExists("chef_data_bag.test", &dataBagName),
}, },
}, },
}) })

@ -3,12 +3,12 @@ package google
import ( import (
"fmt" "fmt"
"log" "log"
"strings"
"github.com/hashicorp/terraform/helper/hashcode" "github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
"google.golang.org/api/compute/v1" "google.golang.org/api/compute/v1"
"google.golang.org/api/googleapi" "google.golang.org/api/googleapi"
"strings"
) )
func stringHashcode(v interface{}) int { func stringHashcode(v interface{}) int {

@ -243,7 +243,7 @@ func resourceComputeInstanceGroupManagerUpdate(d *schema.ResourceData, meta inte
// Wait for the operation to complete // Wait for the operation to complete
err = computeOperationWaitZoneTime(config, op, d.Get("zone").(string), err = computeOperationWaitZoneTime(config, op, d.Get("zone").(string),
managedInstanceCount * 4, "Restarting InstanceGroupManagers instances") managedInstanceCount*4, "Restarting InstanceGroupManagers instances")
if err != nil { if err != nil {
return err return err
} }

Loading…
Cancel
Save