mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid error when missing configuration file
This commit is contained in:
parent
018df9ceb0
commit
2d4a7ac9f9
|
@ -54,6 +54,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
|
||||||
if e == nil {
|
if e == nil {
|
||||||
t.configuration, e = NewConfiguration(b)
|
t.configuration, e = NewConfiguration(b)
|
||||||
return e
|
return e
|
||||||
|
}else{
|
||||||
|
log.Println("Using default configurations.")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue