Merge pull request #4355 from stack72/gofmt_errors_1

Fixing Gofmt errors
This commit is contained in:
James Nugent 2015-12-16 18:51:51 -05:00
commit ba49e1b730
3 changed files with 3 additions and 3 deletions

View File

@ -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),
}, },
}, },
}) })

View File

@ -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 {

View File

@ -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
} }