mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
tweaking
This commit is contained in:
parent
09c6d8fa32
commit
61bc1d6ffd
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue