mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 08:11:13 +03:00
Updating iodine to support new iodine.Error(error, map[string]string) error method
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package donut
|
||||
|
||||
import (
|
||||
"github.com/minio-io/iodine"
|
||||
"io"
|
||||
)
|
||||
|
||||
@@ -19,8 +18,8 @@ type Donut interface {
|
||||
|
||||
// Bucket interface
|
||||
type Bucket interface {
|
||||
GetNodes() ([]string, *iodine.Error)
|
||||
AddNode(nodeID, bucketID string) *iodine.Error
|
||||
GetNodes() ([]string, error)
|
||||
AddNode(nodeID, bucketID string) error
|
||||
}
|
||||
|
||||
// Node interface
|
||||
|
||||
Reference in New Issue
Block a user