mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
api: Response timeFormat do not need to have nano-second precision.
Fixes an error reported by s3verify.
This commit is contained in:
@@ -24,10 +24,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
timeFormatAMZ = "2006-01-02T15:04:05.000Z" // Reply date format
|
timeFormatAMZ = "2006-01-02T15:04:05Z" // Reply date format
|
||||||
maxObjectList = 1000 // Limit number of objects in a listObjectsResponse.
|
maxObjectList = 1000 // Limit number of objects in a listObjectsResponse.
|
||||||
maxUploadsList = 1000 // Limit number of uploads in a listUploadsResponse.
|
maxUploadsList = 1000 // Limit number of uploads in a listUploadsResponse.
|
||||||
maxPartsList = 1000 // Limit number of parts in a listPartsResponse.
|
maxPartsList = 1000 // Limit number of parts in a listPartsResponse.
|
||||||
)
|
)
|
||||||
|
|
||||||
// LocationResponse - format for location response.
|
// LocationResponse - format for location response.
|
||||||
|
|||||||
Reference in New Issue
Block a user