mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 21:07:56 +08:00
avoid error when missing configuration file
This commit is contained in:
@@ -54,6 +54,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
|
||||
if e == nil {
|
||||
t.configuration, e = NewConfiguration(b)
|
||||
return e
|
||||
}else{
|
||||
log.Println("Using default configurations.")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user