Merge pull request #2508 from kmlebedev/s3StatusOffAudit

disable audit log for s3 statusHandler
This commit is contained in:
Chris Lu 2021-12-13 10:19:06 -08:00 committed by GitHub
commit adfc1e0559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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{}, "")
}