diff --git a/pkg/client/file/.gitignore b/pkg/client/file/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/url-parser.go b/url-parser.go index 41de2f5a..e3e7b808 100644 --- a/url-parser.go +++ b/url-parser.go @@ -132,7 +132,7 @@ func url2Object(urlStr string) (bucketName, objectName string, err error) { u, err := url.Parse(urlStr) if u.Path == "" { // No bucket name passed. It is a valid case - return "", "", iodine.New(errInvalidbucket, nil) + return "", "", nil } splits := strings.SplitN(u.Path, "/", 3) switch len(splits) {