minio/pkg/fs
Harshavardhana 2e311168ee multipart: NewMultipartUpload shouldn't return empty UploadID
Existing code
```
{
  if os.IsNotExist(e) {
       e = os.MkdirAll(objectDir, 0700)
       if e != nil {
            return "", probe.NewError(e)
       }
  }
  return "", probe.NewError(e)  ---> Error was here.
}
```
For a successful 'MkdirAll' it would still return an empty uploadID,
but the 'error' would be nil. This would succeed the request but
client would fail.

Fix is to re-arrange the logic. Thanks to Alexander Neumann @fd0, for
reporting this problem.
2016-01-26 15:00:34 -08:00
..
acl.go fs/bucket: Move bucket metadata into buckets.json 2015-11-01 21:25:01 -08:00
api_suite_nix_test.go Implementing min-free-disk 2015-10-18 00:23:14 -07:00
api_suite_windows_test.go fs/bucket: Move bucket metadata into buckets.json 2015-11-01 21:25:01 -08:00
auto-expiry.go Add initial cut of auto expiry of objects 2015-10-19 01:34:31 -07:00
config.go minio: Add config-folder option. 2015-12-07 12:34:09 -08:00
definitions.go api: Various fixes. 2016-01-25 16:08:27 -08:00
errors.go Implementing min-free-disk 2015-10-18 00:23:14 -07:00
fs-bucket-listobjects.go api: Various fixes. 2016-01-25 16:08:27 -08:00
fs-bucket.go deleteBucket: Directory not empty error on windows is "directory is not empty" 2016-01-25 17:58:43 -08:00
fs-common.go Leverage sort Interface to provide sortUnique function 2015-10-23 15:55:41 -07:00
fs-multipart.go multipart: NewMultipartUpload shouldn't return empty UploadID 2016-01-26 15:00:34 -08:00
fs-object.go api: More cleanups at WebAPI. 2016-01-25 17:30:08 -08:00
fs-utils.go fs: Improve upon proper lexical ordering for ListObjects() 2015-11-11 14:52:03 -08:00
fs.go api: Various fixes. 2016-01-25 16:08:27 -08:00
fs_test.go minio: Add config-folder option. 2015-12-07 12:34:09 -08:00
postpolicyform.go Migrate this project to minio micro services code 2015-10-16 11:26:08 -07:00
signature.go signature: Add aws-cli work-around for now. 2016-01-09 10:47:59 -08:00