diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-22 02:46:24 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-22 02:46:24 -0800 |
| commit | 97e3432dfe0cdc7e5852846428b2b3e552568830 (patch) | |
| tree | e56c53c43ed221a49660db6371f5faeb0117dffb | |
| parent | 4f31c1bb9496bddd55dc4586769d1834599c975e (diff) | |
| download | seaweedfs-97e3432dfe0cdc7e5852846428b2b3e552568830.tar.xz seaweedfs-97e3432dfe0cdc7e5852846428b2b3e552568830.zip | |
avoid wrong error
fix https://github.com/chrislusf/seaweedfs/issues/1691
| -rw-r--r-- | weed/filer/configuration.go | 3 |
1 files changed, 1 insertions, 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 { |
