aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-10-31 18:05:34 -0700
committerChris Lu <chris.lu@gmail.com>2021-10-31 18:05:34 -0700
commitf17fa400d59a123ddfa76d1aac1d701d7b19e951 (patch)
tree8eeed582bf932a0d2f5d1e1f72857edd3efb5831 /weed/s3api/auth_credentials.go
parent006b4ec0f8ebdd0964e412fdf5f327284d838443 (diff)
downloadseaweedfs-f17fa400d59a123ddfa76d1aac1d701d7b19e951.tar.xz
seaweedfs-f17fa400d59a123ddfa76d1aac1d701d7b19e951.zip
refactoring
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 998a74625..4ecd0c170 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -182,7 +182,7 @@ func (iam *IdentityAccessManagement) Auth(f http.HandlerFunc, action Action) htt
f(w, r)
return
}
- s3err.WriteErrorResponse(w, errCode, r)
+ s3err.WriteErrorResponse(w, r, errCode)
}
}