aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-12-07 09:35:48 -0800
committerGitHub <noreply@github.com>2021-12-07 09:35:48 -0800
commit2ba08afed1547038193d9bee80fb62753f5cf4e5 (patch)
treece01428010b827f79567e59a766ebc0e60ed0daa /weed/s3api/auth_credentials.go
parent7f0a97c7b676c828f9bcf8556a5d9fbe63175939 (diff)
parent10678cde81b76a6a7148dc4a9939c169777090ae (diff)
downloadseaweedfs-2ba08afed1547038193d9bee80fb62753f5cf4e5.tar.xz
seaweedfs-2ba08afed1547038193d9bee80fb62753f5cf4e5.zip
Merge pull request #2498 from kmlebedev/s3_audit_log
Diffstat (limited to 'weed/s3api/auth_credentials.go')
-rw-r--r--weed/s3api/auth_credentials.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go
index d29e8692f..a73db81ec 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -236,7 +236,7 @@ func (iam *IdentityAccessManagement) authRequest(r *http.Request, action Action)
glog.V(3).Infof("user name: %v actions: %v, action: %v", identity.Name, identity.Actions, action)
- bucket, _ := getBucketAndObject(r)
+ bucket, _ := xhttp.GetBucketAndObject(r)
if !identity.canDo(action, bucket) {
return identity, s3err.ErrAccessDenied