Add updateConfig code to load config changes if possible for every function

This commit is contained in:
Harshavardhana
2015-07-05 22:17:56 -07:00
parent 36835befe6
commit 10b082144e
7 changed files with 138 additions and 56 deletions

View File

@@ -32,7 +32,7 @@ type Minio struct {
// New instantiate a new minio API
func New() Minio {
// ignore errors for now
d, _ := donut.LoadDonut()
d, _ := donut.New()
return Minio{
OP: make(chan Operation),
Donut: d,