mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid wrong error
fix https://github.com/chrislusf/seaweedfs/issues/1691
This commit is contained in:
parent
4f31c1bb94
commit
97e3432dfe
|
@ -61,8 +61,7 @@ func (f *Filer) LoadConfiguration(config *viper.Viper) {
|
|||
|
||||
store, found := storeNames[storeName]
|
||||
if !found {
|
||||
glog.Errorf("path-specific filer store %s.%s is not found", storeName, storeId)
|
||||
os.Exit(-1)
|
||||
continue
|
||||
}
|
||||
store = reflect.New(reflect.ValueOf(store).Elem().Type()).Interface().(FilerStore)
|
||||
if err := store.Initialize(config, key+"."); err != nil {
|
||||
|
|
Loading…
Reference in a new issue