Avoid unnecessary statPart() calls in PutObjectPart (#8905)

Assume `xl.json` as the source of truth for all operations.
This commit is contained in:
Harshavardhana
2020-02-04 10:04:37 +05:30
committed by GitHub
parent 278a165674
commit e9c111c8d0
2 changed files with 4 additions and 43 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ const erasureAlgorithmKlauspost = "klauspost/reedsolomon/vandermonde"
type ObjectPartInfo struct {
Number int `json:"number"`
Name string `json:"name"`
ETag string `json:"etag"`
ETag string `json:"etag,omitempty"`
Size int64 `json:"size"`
ActualSize int64 `json:"actualSize"`
}