refactor: refactor code to separate fs into object-layer and fs layer. (#1305)
This commit is contained in:
committed by
Harshavardhana
parent
188bb92d8a
commit
3c48537f20
+1
-1
@@ -260,7 +260,7 @@ func generateListObjectsResponse(bucket, prefix, marker, delimiter string, maxKe
|
||||
continue
|
||||
}
|
||||
content.Key = object.Name
|
||||
content.LastModified = object.ModifiedTime.UTC().Format(timeFormatAMZ)
|
||||
content.LastModified = object.ModTime.UTC().Format(timeFormatAMZ)
|
||||
if object.MD5Sum != "" {
|
||||
content.ETag = "\"" + object.MD5Sum + "\""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user