Fix error message for Last-Modified parsing failure - fixes #1123
This commit is contained in:
+4
-4
@@ -41,15 +41,15 @@
|
||||
"canonical": "github.com/minio/minio-go",
|
||||
"comment": "",
|
||||
"local": "vendor/github.com/minio/minio-go",
|
||||
"revision": "fababb1b2493c703032df9fc55e393dcdb36a075",
|
||||
"revisionTime": "2015-09-22T01:57:40-07:00"
|
||||
"revision": "8cd66490f49b893c83bdbbc4c8cea047bed7cdd6",
|
||||
"revisionTime": "2015-09-22T23:49:08-07:00"
|
||||
},
|
||||
{
|
||||
"canonical": "github.com/minio/minio-go-legacy",
|
||||
"comment": "",
|
||||
"local": "vendor/github.com/minio/minio-go-legacy",
|
||||
"revision": "a88eeac69f62825adf0ed3d568e29bfdbf6905b2",
|
||||
"revisionTime": "2015-09-22T01:51:45-07:00"
|
||||
"revision": "afeb2695278bef4a6779c064156c9378b4736ecc",
|
||||
"revisionTime": "2015-09-22T23:27:13-07:00"
|
||||
},
|
||||
{
|
||||
"canonical": "github.com/minio/minio/pkg/probe",
|
||||
|
||||
+1
-1
@@ -678,7 +678,7 @@ func (a apiCore) getObject(bucket, object string, offset, length int64) (io.Read
|
||||
if err != nil {
|
||||
return nil, ObjectStat{}, ErrorResponse{
|
||||
Code: "InternalError",
|
||||
Message: "Content-Length not recognized, please report this issue at https://github.com/minio/minio-go-legacy/issues",
|
||||
Message: "Last-Modified time format not recognized, please report this issue at https://github.com/minio/minio-go-legacy/issues",
|
||||
RequestID: resp.Header.Get("x-amz-request-id"),
|
||||
HostID: resp.Header.Get("x-amz-id-2"),
|
||||
}
|
||||
|
||||
+1
-1
@@ -678,7 +678,7 @@ func (a apiCore) getObject(bucket, object string, offset, length int64) (io.Read
|
||||
if err != nil {
|
||||
return nil, ObjectStat{}, ErrorResponse{
|
||||
Code: "InternalError",
|
||||
Message: "Content-Length not recognized, please report this issue at https://github.com/minio/minio-go/issues",
|
||||
Message: "Last-Modified time format not recognized, please report this issue at https://github.com/minio/minio-go/issues",
|
||||
RequestID: resp.Header.Get("x-amz-request-id"),
|
||||
HostID: resp.Header.Get("x-amz-id-2"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user