From 76148ce0f766997de8ec232cd44e2d88d29b7511 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 2 May 2022 12:20:01 -0700 Subject: [PATCH] use storage_class for backend configuration fix https://github.com/chrislusf/seaweedfs/issues/3008 --- weed/storage/backend/s3_backend/s3_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/backend/s3_backend/s3_backend.go b/weed/storage/backend/s3_backend/s3_backend.go index b516062a8..c68712d58 100644 --- a/weed/storage/backend/s3_backend/s3_backend.go +++ b/weed/storage/backend/s3_backend/s3_backend.go @@ -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" }