This commit is contained in:
Chris Lu
2019-11-28 18:47:51 -08:00
parent 09c6d8fa32
commit 61bc1d6ffd
2 changed files with 4 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ func LoadConfiguration(config *viper.Viper) {
glog.Fatalf("fail to create backend storage %s.%s", backendTypeName, backendStorageId)
}
BackendStorages[backendTypeName+"."+backendStorageId] = backendStorage
if backendStorageId == "default" {
BackendStorages[backendTypeName] = backendStorage
}
}
}