Browse Source

fix nil bug with filer.toml

pull/719/head
Chris Lu 6 years ago
parent
commit
2b4277ec18
  1. 4
      weed/msgqueue/configuration.go

4
weed/msgqueue/configuration.go

@ -13,6 +13,10 @@ var (
func LoadConfiguration(config *viper.Viper) {
if config == nil {
return
}
for _, store := range MessageQueues {
if config.GetBool(store.GetName() + ".enabled") {
viperSub := config.Sub(store.GetName())

Loading…
Cancel
Save