mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use storage_class for backend configuration
fix https://github.com/chrislusf/seaweedfs/issues/3008
This commit is contained in:
parent
73961e24d8
commit
76148ce0f7
|
@ -49,7 +49,7 @@ func newS3BackendStorage(configuration backend.StringProperties, configPrefix st
|
|||
s.region = configuration.GetString(configPrefix + "region")
|
||||
s.bucket = configuration.GetString(configPrefix + "bucket")
|
||||
s.endpoint = configuration.GetString(configPrefix + "endpoint")
|
||||
s.storageClass = configuration.GetString(configPrefix + "storageClass")
|
||||
s.storageClass = configuration.GetString(configPrefix + "storage_class")
|
||||
if s.storageClass == "" {
|
||||
s.storageClass = "STANDARD_IA"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue