honor lifecycle expiration with tag rule (#9604)

master
Anis Elleuch 5 years ago committed by GitHub
parent fe8d33452b
commit 48e614b167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/storage-datatypes.go

@ -85,6 +85,9 @@ func (entry FileInfo) ToObjectInfo() ObjectInfo {
ContentEncoding: entry.Metadata["content-encoding"],
}
// Extrat object tagging information
objInfo.UserTags = entry.Metadata[xhttp.AmzObjectTagging]
// Extract etag from metadata.
objInfo.ETag = extractETag(entry.Metadata)

Loading…
Cancel
Save