From 97e3432dfe0cdc7e5852846428b2b3e552568830 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 22 Dec 2020 02:46:24 -0800 Subject: [PATCH] avoid wrong error fix https://github.com/chrislusf/seaweedfs/issues/1691 --- weed/filer/configuration.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/weed/filer/configuration.go b/weed/filer/configuration.go index 5793e2b78..6d226c230 100644 --- a/weed/filer/configuration.go +++ b/weed/filer/configuration.go @@ -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 {