1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-20 10:20:00 +02:00

disable audit log for s3 statusHandler

This commit is contained in:
Konstantin Lebedev 2021-12-13 16:08:19 +05:00
parent ab0c6a84bf
commit 969f513265

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