Browse Source

set identity id

pull/7519/head
chrislu 2 weeks ago
parent
commit
611a2db4e3
  1. 5
      weed/s3api/s3api_bucket_handlers.go

5
weed/s3api/s3api_bucket_handlers.go

@ -59,7 +59,10 @@ func (s3a *S3ApiServer) ListBucketsHandler(w http.ResponseWriter, r *http.Reques
return
}
identityId := r.Header.Get(s3_constants.AmzIdentityId)
identityId := ""
if identity != nil {
identityId = identity.Name
}
var listBuckets ListAllMyBucketsList
for _, entry := range entries {

Loading…
Cancel
Save