avoid file not exist error

This commit is contained in:
Chris Lu 2013-03-19 10:33:33 -07:00
parent a3eddde525
commit 018df9ceb0

View file

@ -53,8 +53,9 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
b, e := ioutil.ReadFile(configurationFile)
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
}
return e
return nil
}
func (t *Topology) Lookup(vid storage.VolumeId) []*DataNode {