diff options
Diffstat (limited to 'pkg/asset/backend_gcs.go')
| -rw-r--r-- | pkg/asset/backend_gcs.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/asset/backend_gcs.go b/pkg/asset/backend_gcs.go index a196d89b9..7791fe777 100644 --- a/pkg/asset/backend_gcs.go +++ b/pkg/asset/backend_gcs.go @@ -4,6 +4,7 @@ package asset import ( + "context" "fmt" "io" "net/url" @@ -22,7 +23,7 @@ type cloudStorageBackend struct { func makeCloudStorageBackend(bucket string, tracer debugtracer.DebugTracer) (*cloudStorageBackend, error) { tracer.Log("created gcs backend for bucket '%s'", bucket) - client, err := gcs.NewClient() + client, err := gcs.NewClient(context.Background()) if err != nil { return nil, fmt.Errorf("the call to NewClient failed: %w", err) } |
