mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 03:32:54 -06:00
backend/remote-state/gcloud: Unify on the "context" package.
We don't need to use the legacy package here.
This commit is contained in:
parent
5d4e25ada4
commit
f80b872bc3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user