From 76148ce0f766997de8ec232cd44e2d88d29b7511 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 2 May 2022 12:20:01 -0700 Subject: [PATCH 1/2] 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" } From e82233efa783a987d3874580956c6b9f5351f801 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 2 May 2022 13:35:06 -0700 Subject: [PATCH 2/2] add back arm64 darwin --- .github/workflows/binaries_dev.yml | 3 +-- .github/workflows/binaries_release2.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.yml index b897732f6..29b1cf6ab 100644 --- a/.github/workflows/binaries_dev.yml +++ b/.github/workflows/binaries_dev.yml @@ -82,8 +82,7 @@ jobs: strategy: matrix: goos: [darwin] - # goarch: [amd64, arm64] - goarch: [amd64] + goarch: [amd64, arm64] steps: diff --git a/.github/workflows/binaries_release2.yml b/.github/workflows/binaries_release2.yml index b6613483b..09e8fc7ae 100644 --- a/.github/workflows/binaries_release2.yml +++ b/.github/workflows/binaries_release2.yml @@ -23,8 +23,7 @@ jobs: strategy: matrix: goos: [darwin] - # goarch: [amd64, arm64] - goarch: [amd64] + goarch: [amd64, arm64] # Steps represent a sequence of tasks that will be executed as part of the job steps: