mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 22:46:16 +03:00
read-health check endpoint returns success if cluster can serve read requests (#11310)
This commit is contained in:
@@ -216,7 +216,8 @@ func guessIsHealthCheckReq(req *http.Request) bool {
|
||||
return aType == authTypeAnonymous && (req.Method == http.MethodGet || req.Method == http.MethodHead) &&
|
||||
(req.URL.Path == healthCheckPathPrefix+healthCheckLivenessPath ||
|
||||
req.URL.Path == healthCheckPathPrefix+healthCheckReadinessPath ||
|
||||
req.URL.Path == healthCheckPathPrefix+healthCheckClusterPath)
|
||||
req.URL.Path == healthCheckPathPrefix+healthCheckClusterPath ||
|
||||
req.URL.Path == healthCheckPathPrefix+healthCheckClusterReadPath)
|
||||
}
|
||||
|
||||
// guessIsMetricsReq - returns true if incoming request looks
|
||||
|
||||
Reference in New Issue
Block a user