diff --git a/backends/s3/s3.go b/backends/s3/s3.go index 65f44b3..f229176 100644 --- a/backends/s3/s3.go +++ b/backends/s3/s3.go @@ -102,6 +102,10 @@ func unmapMetadata(input map[string]*string) (m backends.Metadata, err error) { } m.DeleteKey = aws.StringValue(input["Deletekey"]) + if m.DeleteKey == "" { + m.DeleteKey = aws.StringValue(input["Delete_key"]) + } + m.Mimetype = aws.StringValue(input["Mimetype"]) m.Sha256sum = aws.StringValue(input["Sha256sum"]) return