mirror of
https://github.com/minio/mc.git
synced 2025-11-13 12:22:45 +03:00
Implement fsClient tests - fixes #433
This commit is contained in:
@@ -182,8 +182,7 @@ func (f *fsClient) PutBucket() error {
|
||||
|
||||
// StatBucket -
|
||||
func (f *fsClient) StatBucket() error {
|
||||
bucket, _ := f.url2Object()
|
||||
st, err := os.Stat(bucket)
|
||||
st, err := os.Stat(f.Path)
|
||||
if os.IsNotExist(err) {
|
||||
return iodine.New(client.BucketNotFound{Bucket: ""}, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user