go vet shadow error patch

This commit is contained in:
Karthic Rao 2016-03-02 09:55:00 +05:30
parent dc622674e1
commit 6651f5b368
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ func (fs Filesystem) CompleteMultipartUpload(bucket, object, uploadID string, da
}
}
completeMultipartUpload := &CompleteMultipartUpload{}
if e := xml.Unmarshal(partBytes, completeMultipartUpload); e != nil {
if e = xml.Unmarshal(partBytes, completeMultipartUpload); e != nil {
file.CloseAndPurge()
return ObjectMetadata{}, probe.NewError(MalformedXML{})
}