api: Response timeFormat do not need to have nano-second precision.

Fixes an error reported by s3verify.
This commit is contained in:
Harshavardhana 2016-09-06 17:22:55 -07:00
parent ba2ba328da
commit 9998e9ea19

View File

@ -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.