diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-12-13 10:19:06 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-13 10:19:06 -0800 |
| commit | adfc1e0559ed9b1f4b3c9a026af4dafe9aa97206 (patch) | |
| tree | e89dd3ab0efface5df93b24016b3b6bdbda88282 | |
| parent | ab0c6a84bf314e5d446c1c445d393583bbbed444 (diff) | |
| parent | 969f5132656338592e88946959eda198eade6084 (diff) | |
| download | seaweedfs-adfc1e0559ed9b1f4b3c9a026af4dafe9aa97206.tar.xz seaweedfs-adfc1e0559ed9b1f4b3c9a026af4dafe9aa97206.zip | |
Merge pull request #2508 from kmlebedev/s3StatusOffAudit
disable audit log for s3 statusHandler
| -rw-r--r-- | weed/s3api/s3api_status_handlers.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/weed/s3api/s3api_status_handlers.go b/weed/s3api/s3api_status_handlers.go index 2ee6c37b2..fafb6ac2f 100644 --- a/weed/s3api/s3api_status_handlers.go +++ b/weed/s3api/s3api_status_handlers.go @@ -1,8 +1,11 @@ package s3api -import "net/http" +import ( + "github.com/chrislusf/seaweedfs/weed/s3api/s3err" + "net/http" +) func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) { // write out the response code and content type header - writeSuccessResponseEmpty(w, r) + s3err.WriteResponse(w, r, http.StatusOK, []byte{}, "") } |
