diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-08-12 15:48:55 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-08-12 15:10:06 +0000 |
| commit | 2235b7c2d4bfb5d187135362cf1f3f0e708972df (patch) | |
| tree | df2478382a5a6fc75e6050d3885bb21736b9e48e /syz-ci | |
| parent | 6ba02fb7c5dd2e8985ade7303b33c940d4d1d6a9 (diff) | |
all: pkg/gcs supports AppEngine context
Diffstat (limited to 'syz-ci')
| -rw-r--r-- | syz-ci/manager.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |
