backend/remote-state/gcloud: Unify on the "context" package.

We don't need to use the legacy package here.
This commit is contained in:
Florian Forster 2017-09-08 14:14:00 +02:00 committed by James Bardin
parent 5d4e25ada4
commit f80b872bc3
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ import (
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/helper/pathorcontents"
"github.com/hashicorp/terraform/helper/schema"
googleContext "golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/api/option"
@ -23,7 +22,7 @@ type gcsBackend struct {
*schema.Backend
storageClient *storage.Client
storageContext googleContext.Context
storageContext context.Context
bucketName string
stateDir string