mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Update yaml files to latest version RELEASE.2023-03-22T06-36-24Z
This commit is contained in:
@@ -2083,7 +2083,7 @@ const (
|
||||
|
||||
// HealthOptions takes input options to return sepcific information
|
||||
type HealthOptions struct {
|
||||
Maintenance bool
|
||||
Maintenance bool
|
||||
DeploymentType string
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
|
||||
defer cancel()
|
||||
|
||||
opts := HealthOptions{
|
||||
Maintenance: r.Form.Get("maintenance") == "true",
|
||||
Maintenance: r.Form.Get("maintenance") == "true",
|
||||
DeploymentType: r.Form.Get("deployment-type"),
|
||||
}
|
||||
result := objLayer.Health(ctx, opts)
|
||||
|
||||
Reference in New Issue
Block a user