mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
Merge pull request #374 from harshavardhana/pr_out_remove_unnecessary_if_block
This commit is contained in:
commit
9503a4df33
@ -70,9 +70,6 @@ func (d donutDriver) ListBuckets() (results []drivers.BucketMetadata, err error)
|
||||
return nil, err
|
||||
}
|
||||
for _, bucket := range buckets {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
result := drivers.BucketMetadata{
|
||||
Name: bucket,
|
||||
// TODO Add real created date
|
||||
|
Loading…
Reference in New Issue
Block a user