google: Code formatted via gofmt

This commit is contained in:
Radek Simko 2015-08-14 12:06:06 +01:00
parent 9596271b36
commit 00ad41bf7d
7 changed files with 25 additions and 28 deletions

View File

@ -10,7 +10,6 @@ import (
"runtime" "runtime"
"strings" "strings"
// TODO(dcunnin): Use version code from version.go // TODO(dcunnin): Use version code from version.go
// "github.com/hashicorp/terraform" // "github.com/hashicorp/terraform"
"golang.org/x/oauth2" "golang.org/x/oauth2"

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"google.golang.org/api/compute/v1"
"github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/resource"
"google.golang.org/api/compute/v1"
) )
// OperationWaitType is an enum specifying what type of operation // OperationWaitType is an enum specifying what type of operation
@ -77,4 +77,3 @@ func (e OperationError) Error() string {
return buf.String() return buf.String()
} }

View File

@ -5,9 +5,9 @@ import (
"log" "log"
"time" "time"
"google.golang.org/api/googleapi"
"google.golang.org/api/compute/v1"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
"google.golang.org/api/compute/v1"
"google.golang.org/api/googleapi"
) )
func resourceComputeAutoscaler() *schema.Resource { func resourceComputeAutoscaler() *schema.Resource {

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"testing" "testing"
"google.golang.org/api/compute/v1"
"github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform" "github.com/hashicorp/terraform/terraform"
"google.golang.org/api/compute/v1"
) )
func TestAccAutoscaler_basic(t *testing.T) { func TestAccAutoscaler_basic(t *testing.T) {

View File

@ -5,8 +5,8 @@ import (
"log" "log"
"time" "time"
"google.golang.org/api/googleapi"
"google.golang.org/api/compute/v1" "google.golang.org/api/compute/v1"
"google.golang.org/api/googleapi"
"github.com/hashicorp/terraform/helper/hashcode" "github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"

View File

@ -307,4 +307,3 @@ resource "google_compute_instance_group_manager" "igm-update" {
zone = "us-central1-c" zone = "us-central1-c"
target_size = 3 target_size = 3
}` }`