Add liveness\readiness probe for s3 api handler on /status path
This commit is contained in:
8
weed/s3api/s3api_status_handlers.go
Normal file
8
weed/s3api/s3api_status_handlers.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package s3api
|
||||
|
||||
import "net/http"
|
||||
|
||||
func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
// write out the response code and content type header
|
||||
writeSuccessResponseEmpty(w)
|
||||
}
|
||||
Reference in New Issue
Block a user