mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Add bootstrap REST handler for verifying server config (#8550)
This commit is contained in:
@@ -196,8 +196,8 @@ type ZoneEndpoints struct {
|
||||
// EndpointZones - list of list of endpoints
|
||||
type EndpointZones []ZoneEndpoints
|
||||
|
||||
// First returns true if the first endpoint is local.
|
||||
func (l EndpointZones) First() bool {
|
||||
// FirstLocal returns true if the first endpoint is local.
|
||||
func (l EndpointZones) FirstLocal() bool {
|
||||
return l[0].Endpoints[0].IsLocal
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user