From 89d30d7360d4a366f8fdf00d6ac56cced7a45b0b Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 25 Mar 2025 12:56:07 +0100 Subject: pkg/gcs: define Client interface Some functions are not the struct members now. Some functions deleted. Client mock generated. --- syz-ci/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-ci/manager.go') 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 { -- cgit mrf-deployment