minio/pkg/storage/donut/bucketdriver.go
2015-03-22 02:53:21 -07:00

15 lines
249 B
Go

package donut
type bucketDriver struct {
nodes []string
objects map[string][]byte
}
func (b bucketDriver) GetNodes() ([]string, error) {
var nodes []string
for _, node := range b.nodes {
nodes = append(nodes, node)
}
return nodes, nil
}