Use canonicalETag helper wherever needed. (#3910)

This commit is contained in:
Harshavardhana
2017-03-15 20:48:49 -07:00
committed by GitHub
parent ae4361cc45
commit 6509589adb
3 changed files with 4 additions and 7 deletions

View File

@@ -26,7 +26,6 @@ import (
"net/http/httptest"
"net/url"
"strconv"
"strings"
"sync"
"testing"
@@ -1037,7 +1036,7 @@ func testAPICopyObjectPartHandlerSanity(obj ObjectLayer, instanceType, bucketNam
parts = append(parts, completePart{
PartNumber: partNumber,
ETag: strings.Trim(resp.ETag, "\""),
ETag: canonicalizeETag(resp.ETag),
})
}