Browse Source

avoid missing configuration file error

pull/2/head
Chris Lu 12 years ago
parent
commit
a1d5a6298c
  1. 3
      go/topology/topology.go

3
go/topology/topology.go

@ -6,6 +6,7 @@ import (
"code.google.com/p/weed-fs/go/storage"
"errors"
"io/ioutil"
"log"
"math/rand"
)
@ -54,7 +55,7 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
}else{
} else {
log.Println("Using default configurations.")
}
return nil

Loading…
Cancel
Save