Remove more bloated code - simplify

This commit is contained in:
Harshavardhana
2015-06-25 12:55:13 -07:00
parent 7ade42165f
commit 45e9d25931
5 changed files with 135 additions and 145 deletions
+2 -2
View File
@@ -41,12 +41,12 @@ type bucket struct {
acl string
time time.Time
donutName string
nodes map[string]Node
nodes map[string]node
lock *sync.RWMutex
}
// newBucket - instantiate a new bucket
func newBucket(bucketName, aclType, donutName string, nodes map[string]Node) (bucket, map[string]string, error) {
func newBucket(bucketName, aclType, donutName string, nodes map[string]node) (bucket, map[string]string, error) {
errParams := map[string]string{
"bucketName": bucketName,
"donutName": donutName,