mirror of
https://github.com/minio/mc.git
synced 2025-11-14 23:42:27 +03:00
Now clients only take URLs - fixes #425
- Interface change, takes only minimal arguments - Passing URLs all the way down - Bucket and Object awareness only at per client level
This commit is contained in:
15
errors.go
15
errors.go
@@ -94,18 +94,3 @@ type errInvalidAuthKeys struct{}
|
||||
func (e errInvalidAuthKeys) Error() string {
|
||||
return "invalid authorization keys"
|
||||
}
|
||||
|
||||
// errInvalidBucketName - invalid bucket name
|
||||
type errInvalidBucketName struct {
|
||||
bucket string
|
||||
}
|
||||
|
||||
func (e errInvalidBucketName) Error() string {
|
||||
return "invalid bucket name: " + e.bucket
|
||||
}
|
||||
|
||||
type errBucketNameEmpty struct{}
|
||||
|
||||
func (e errBucketNameEmpty) Error() string {
|
||||
return "bucket name empty"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user