backend/remote-state/gcloud: Sort standard library imports before other imports.

This commit is contained in:
Florian Forster 2017-09-07 13:10:56 +02:00 committed by James Bardin
parent 52ac764036
commit e54d36b489
3 changed files with 10 additions and 7 deletions

View File

@ -1,9 +1,10 @@
package gcloud
import (
"cloud.google.com/go/storage"
"context"
"fmt"
"cloud.google.com/go/storage"
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/helper/pathorcontents"
"github.com/hashicorp/terraform/helper/schema"

View File

@ -1,17 +1,18 @@
package gcloud
import (
"cloud.google.com/go/storage"
"errors"
"fmt"
"regexp"
"sort"
"strings"
"cloud.google.com/go/storage"
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/state"
"github.com/hashicorp/terraform/state/remote"
"github.com/hashicorp/terraform/terraform"
"google.golang.org/api/iterator"
"regexp"
"sort"
"strings"
)
func (b *Backend) States() ([]string, error) {

View File

@ -1,14 +1,15 @@
package gcloud
import (
"cloud.google.com/go/storage"
"encoding/json"
"fmt"
"io/ioutil"
"cloud.google.com/go/storage"
uuid "github.com/hashicorp/go-uuid"
"github.com/hashicorp/terraform/state"
"github.com/hashicorp/terraform/state/remote"
"golang.org/x/net/context"
"io/ioutil"
)
type RemoteClient struct {