From 8f864e3a98c5f3a2ee929e4f88e1f96df78ed38b Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 26 Sep 2023 11:30:55 +0200 Subject: [PATCH] testing: fix TestCopyObject --- backend/s3mem/backend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/s3mem/backend.go b/backend/s3mem/backend.go index 48937d1..f935467 100644 --- a/backend/s3mem/backend.go +++ b/backend/s3mem/backend.go @@ -257,6 +257,7 @@ func (db *Backend) PutObject(bucketName, objectName string, meta map[string]stri result.VersionID = item.versionID } + result.ETag = item.etag return result, nil }