mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid file not exist error
This commit is contained in:
parent
a3eddde525
commit
018df9ceb0
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue