aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_server.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-09-25 09:16:35 -0700
committerchrislu <chris.lu@gmail.com>2023-09-25 09:16:35 -0700
commit3d07895518b2b6e816518be0a2355c1f0a98ff15 (patch)
treef06fda180691efb0b58c9ac0e82988e1cea31e14 /weed/s3api/s3api_server.go
parenta6e35e4f685b7713cb863d3f28c85a4b8ae89ab8 (diff)
parenta132d445568f4de6dba617b83b42d9b9cfb1cbd2 (diff)
downloadseaweedfs-3d07895518b2b6e816518be0a2355c1f0a98ff15.tar.xz
seaweedfs-3d07895518b2b6e816518be0a2355c1f0a98ff15.zip
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
Diffstat (limited to 'weed/s3api/s3api_server.go')
-rw-r--r--weed/s3api/s3api_server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/s3api/s3api_server.go b/weed/s3api/s3api_server.go
index 77c488f4d..e38aae23d 100644
--- a/weed/s3api/s3api_server.go
+++ b/weed/s3api/s3api_server.go
@@ -5,7 +5,6 @@ import (
"fmt"
"github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/pb/s3_pb"
- "github.com/seaweedfs/seaweedfs/weed/s3api/s3account"
"net"
"net/http"
"strings"
@@ -42,7 +41,6 @@ type S3ApiServer struct {
randomClientId int32
filerGuard *security.Guard
client *http.Client
- accountManager *s3account.AccountManager
bucketRegistry *BucketRegistry
}
@@ -63,7 +61,6 @@ func NewS3ApiServer(router *mux.Router, option *S3ApiServerOption) (s3ApiServer
filerGuard: security.NewGuard([]string{}, signingKey, expiresAfterSec, readSigningKey, readExpiresAfterSec),
cb: NewCircuitBreaker(option),
}
- s3ApiServer.accountManager = s3account.NewAccountManager(s3ApiServer)
s3ApiServer.bucketRegistry = NewBucketRegistry(s3ApiServer)
if option.LocalFilerSocket == "" {
s3ApiServer.client = &http.Client{Transport: &http.Transport{