mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 21:39:02 +08: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 {
|
||||
t.configuration, e = NewConfiguration(b)
|
||||
return e
|
||||
}else{
|
||||
log.Println("Using default configurations.")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user