Merge pull request #2508 from kmlebedev/s3StatusOffAudit
disable audit log for s3 statusHandler
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
package s3api
|
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) {
|
func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
// write out the response code and content type header
|
// write out the response code and content type header
|
||||||
writeSuccessResponseEmpty(w, r)
|
s3err.WriteResponse(w, r, http.StatusOK, []byte{}, "")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user