Merge pull request #3000 from TimeIncOSS/code-formatting

Format code via gofmt + fix whitespacing
This commit is contained in:
Radek Simko 2015-08-19 10:45:11 +01:00
commit f27b0a0cf1
8 changed files with 30 additions and 33 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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