Browse Source
Merge pull request #2508 from kmlebedev/s3StatusOffAudit
disable audit log for s3 statusHandler
pull/2511/head
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
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{}, "") |
|
|
|
} |