Adding iodine to donut bucket

This commit is contained in:
Frederick F. Kautz IV
2015-03-25 17:05:23 -07:00
parent d81472f836
commit eff48971ad
2 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
package donut
import (
"github.com/minio-io/iodine"
"io"
)
@@ -18,8 +19,8 @@ type Donut interface {
// Bucket interface
type Bucket interface {
GetNodes() ([]string, error)
AddNode(nodeID, bucketID string) error
GetNodes() ([]string, *iodine.Error)
AddNode(nodeID, bucketID string) *iodine.Error
}
// Node interface