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

@ -359,7 +359,7 @@ sequencer_etcd_urls = "http://127.0.0.1:2379"
[storage.backend]
[storage.backend.s3.default]
enabled = true
enabled = false
aws_access_key_id = "" # if empty, loads from the shared credentials file (~/.aws/credentials).
aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials).
region = "us-east-2"

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
}
}
}