mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
- Test utility function for easy asserting of cases wherein objectLayer (#2865)
is `nil` in API handlers. - Remove the existing tests for the `nil` check and use the new method to test for object layer being `nil`.
This commit is contained in:
committed by
Harshavardhana
parent
c6d2967b84
commit
a8105ec068
@@ -533,7 +533,7 @@ func (api objectAPIHandlers) PutObjectHandler(w http.ResponseWriter, r *http.Req
|
||||
|
||||
/// Multipart objectAPIHandlers
|
||||
|
||||
// NewMultipartUploadHandler - New multipart upload
|
||||
// NewMultipartUploadHandler - New multipart upload.
|
||||
func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
|
||||
var object, bucket string
|
||||
vars := mux.Vars(r)
|
||||
|
||||
Reference in New Issue
Block a user