1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00

Add pkg/client/file stub file

This commit is contained in:
Harshavardhana
2015-04-08 16:21:39 -07:00
parent bb1324148f
commit 0b583f6240
2 changed files with 1 additions and 1 deletions

0
pkg/client/file/.gitignore vendored Normal file
View File

View File

@@ -132,7 +132,7 @@ func url2Object(urlStr string) (bucketName, objectName string, err error) {
u, err := url.Parse(urlStr) u, err := url.Parse(urlStr)
if u.Path == "" { if u.Path == "" {
// No bucket name passed. It is a valid case // No bucket name passed. It is a valid case
return "", "", iodine.New(errInvalidbucket, nil) return "", "", nil
} }
splits := strings.SplitN(u.Path, "/", 3) splits := strings.SplitN(u.Path, "/", 3)
switch len(splits) { switch len(splits) {