This commit is contained in:
Chris Lu
2020-12-22 02:34:08 -08:00
parent 6c4f32d173
commit 4f31c1bb94
12 changed files with 25 additions and 28 deletions

View File

@@ -68,7 +68,7 @@ func (f *Filer) LoadConfiguration(config *viper.Viper) {
if err := store.Initialize(config, key+"."); err != nil {
glog.Fatalf("Failed to initialize store for %s: %+v", key, err)
}
location := config.GetString(key+".location")
location := config.GetString(key + ".location")
if location == "" {
glog.Errorf("path-specific filer store needs %s", key+".location")
os.Exit(-1)