gateway-gcs: use minio.sys.temp/multipart/v1 as url base (#4562)

This commit is contained in:
Krishna Srinivas
2017-06-21 10:27:44 -07:00
committed by Harshavardhana
parent fe426944ea
commit 13ab8e17e2
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -164,7 +164,7 @@ func TestIsGCSMarker(t *testing.T) {
// Test for gcsMultipartMetaName.
func TestGCSMultipartMetaName(t *testing.T) {
uploadID := "a"
expected := pathJoin(gcsMinioMultipartPath, uploadID, gcsMinioMultipartMeta)
expected := pathJoin(gcsMinioMultipartPathV1, uploadID, gcsMinioMultipartMeta)
got := gcsMultipartMetaName(uploadID)
if expected != got {
t.Errorf("expected: %s, got: %s", expected, got)
@@ -175,7 +175,7 @@ func TestGCSMultipartMetaName(t *testing.T) {
func TestGCSMultipartDataName(t *testing.T) {
uploadID := "a"
etag := "b"
expected := pathJoin(gcsMinioMultipartPath, uploadID, etag)
expected := pathJoin(gcsMinioMultipartPathV1, uploadID, etag)
got := gcsMultipartDataName(uploadID, etag)
if expected != got {
t.Errorf("expected: %s, got: %s", expected, got)