diff --git a/cmd/endpoint.go b/cmd/endpoint.go index c2f397aa0..fa56ffc81 100644 --- a/cmd/endpoint.go +++ b/cmd/endpoint.go @@ -807,7 +807,7 @@ func (p PoolEndpointList) UpdateIsLocal() error { continue } - if endpoint.Host == "" { + if endpoint.Host == "" || (orchestrated && env.Get("_MINIO_SERVER_LOCAL", "") == endpoint.Host) { if !foundLocal { foundLocal = true }