mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
Merge pull request #317 from fkautz/pr_out_fixing_order_of_input_and_layout_in_time_parse
This commit is contained in:
commit
1dcb8eceb7
@ -205,7 +205,7 @@ func (diskStorage StorageDriver) GetObjectMetadata(bucket, key string, prefix st
|
||||
if err != nil {
|
||||
return storage.ObjectMetadata{}, err
|
||||
}
|
||||
created, err := time.Parse(metadata["created"], time.RFC3339Nano)
|
||||
created, err := time.Parse(time.RFC3339Nano, metadata["created"])
|
||||
size, err := strconv.ParseInt(metadata["size"], 10, 64)
|
||||
objectMetadata := storage.ObjectMetadata{
|
||||
Bucket: bucket,
|
||||
|
Loading…
x
Reference in New Issue
Block a user