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
parent
commit
adfc1e0559
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      weed/s3api/s3api_status_handlers.go

7
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{}, "")
}
Loading…
Cancel
Save