diff options
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/gcs/gcs.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/gcs/gcs.go b/pkg/gcs/gcs.go index 0ac9fc455..0121d2aeb 100644 --- a/pkg/gcs/gcs.go +++ b/pkg/gcs/gcs.go @@ -100,9 +100,6 @@ func (client *Client) UploadFile(localFile, gcsFile string) error { } func split(file string) (bucket, filename string, err error) { - if strings.HasPrefix(file, "gs://") { - file = file[5:] - } pos := strings.IndexByte(file, '/') if pos == -1 { return "", "", fmt.Errorf("invalid GCS file name: %v", file) |
