default "weed server -filer" to same directory as -mdir

This commit is contained in:
Chris Lu
2018-12-05 23:24:25 -08:00
parent fb43a9d7b9
commit 52b24a9902
5 changed files with 29 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ func LoadConfiguration(config *viper.Viper) {
if config.GetBool(store.GetName() + ".enabled") {
viperSub := config.Sub(store.GetName())
if err := store.Initialize(viperSub); err != nil {
glog.Fatalf("Failed to initialize store for %s: %+v",
glog.Fatalf("Failed to initialize notification for %s: %+v",
store.GetName(), err)
}
Queue = store