diff options
Diffstat (limited to 'syz-ci')
| -rw-r--r-- | syz-ci/manager.go | 3 | ||||
| -rw-r--r-- | syz-ci/syz-ci.go | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go index 2f86325e6..77497496c 100644 --- a/syz-ci/manager.go +++ b/syz-ci/manager.go @@ -941,7 +941,8 @@ func (mgr *Manager) uploadFile(dstPath, name string, file io.Reader, allowPublis URL.Path = path.Join(URL.Path, name) URLStr := URL.String() log.Logf(0, "uploading %v to %v", name, URLStr) - if strings.HasPrefix(URLStr, "http") { + if strings.HasPrefix(URLStr, "http://") || + strings.HasPrefix(URLStr, "https://") { return uploadFileHTTPPut(URLStr, file) } return uploadFileGCS(URLStr, file, allowPublishing && mgr.cfg.PublishGCS) diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go index 9c59870ca..e9e12e0e6 100644 --- a/syz-ci/syz-ci.go +++ b/syz-ci/syz-ci.go @@ -106,7 +106,6 @@ type Config struct { // Supported protocols: GCS (gs://) and HTTP PUT (http:// or https://). CoverUploadPath string `json:"cover_upload_path"` // Path to upload json coverage reports from managers (optional). - // Supported protocol: GCS (gs://) CoverPipelinePath string `json:"cover_pipeline_path"` // Path to upload corpus.db from managers (optional). // Supported protocols: GCS (gs://) and HTTP PUT (http:// or https://). |
