From 2235b7c2d4bfb5d187135362cf1f3f0e708972df Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 12 Aug 2024 15:48:55 +0200 Subject: all: pkg/gcs supports AppEngine context --- syz-ci/manager.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syz-ci') diff --git a/syz-ci/manager.go b/syz-ci/manager.go index 14ecaa9b5..218f7ecc4 100644 --- a/syz-ci/manager.go +++ b/syz-ci/manager.go @@ -4,6 +4,7 @@ package main import ( + "context" "crypto/sha256" "encoding/json" "errors" @@ -969,7 +970,7 @@ func (mgr *Manager) uploadFile(dstPath, name string, file io.Reader, allowPublis func uploadFileGCS(URL string, file io.Reader, publish bool) error { URL = strings.TrimPrefix(URL, "gs://") - GCS, err := gcs.NewClient() + GCS, err := gcs.NewClient(context.Background()) if err != nil { return fmt.Errorf("failed to create GCS client: %w", err) } -- cgit mrf-deployment