Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

swift: fix missing hash from object returned from upload

Nick Craig-Wood9cc17cec9af7
diff --git a/backend/swift/swift.go b/backend/swift/swift.go
index c44b7feec..08e81d899 100644
--- a/backend/swift/swift.go
+++ b/backend/swift/swift.go
@@ -1335,7 +1335,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
// object has been safely uploaded
o.lastModified = modTime
o.size = size
- o.md5 = rxHeaders["ETag"]
+ o.md5 = rxHeaders["Etag"]
o.contentType = contentType
o.headers = headers
if inCount != nil {