aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-03-25 12:56:07 +0100
committerTaras Madan <tarasmadan@google.com>2025-03-25 19:53:31 +0000
commit89d30d7360d4a366f8fdf00d6ac56cced7a45b0b (patch)
treed22b5e8682275911832473914c9640d1769805f4 /syz-ci
parent875573af37b09758ab48042f2b8a368097204888 (diff)
pkg/gcs: define Client interface
Some functions are not the struct members now. Some functions deleted. Client mock generated.
Diffstat (limited to 'syz-ci')
-rw-r--r--syz-ci/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 776ed2e84..ff646b5ff 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -1032,7 +1032,7 @@ func uploadFile(dstPath, name string, file io.Reader, publish bool) error {
strings.HasPrefix(URLStr, "https://") {
return uploadFileHTTPPut(URLStr, file)
}
- return gcs.UploadFile(context.Background(), file, URLStr, publish)
+ return gcs.UploadFile(context.Background(), file, URLStr, gcs.UploadOptions{Publish: publish})
}
func uploadFileHTTPPut(URL string, file io.Reader) error {