aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-06-10 21:50:21 -0700
committerChris Lu <chris.lu@gmail.com>2021-06-10 21:50:21 -0700
commit8b382a82097d6fb0f6addb4095a5a090a0ba09d9 (patch)
tree491549d7c3960dc6be7393af7bd49f59a727c41f /weed/s3api/auth_credentials.go
parent33b87244ef99a9651e6564b6cd517e824e35ed70 (diff)
downloadseaweedfs-8b382a82097d6fb0f6addb4095a5a090a0ba09d9.tar.xz
seaweedfs-8b382a82097d6fb0f6addb4095a5a090a0ba09d9.zip
refactor
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 995a98acf..22df04dc0 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -150,7 +150,7 @@ func (iam *IdentityAccessManagement) Auth(f http.HandlerFunc, action Action) htt
f(w, r)
return
}
- writeErrorResponse(w, errCode, r)
+ s3err.WriteErrorResponse(w, errCode, r)
}
}