Add liveness\readiness probe for s3 api handler on /status path

This commit is contained in:
Bl1tz23
2021-08-10 13:42:46 +03:00
parent 4d55132c7d
commit e6e57db530
3 changed files with 15 additions and 3 deletions

View 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)
}