Skip to content

Commit

Permalink
Fix Single instance Hostname (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia authored Jul 24, 2020
1 parent 53ff4b7 commit f0da7e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/apis/minio.min.io/v1/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,6 @@ func (t *Tenant) AllMinIOHosts() []string {

// MinIOCIServiceHost returns ClusterIP service Host for current Tenant
func (t *Tenant) MinIOCIServiceHost() string {
if t.Spec.Zones[0].Servers == 1 {
msg := "Please set the server count > 1"
klog.V(2).Infof(msg)
return ""
}
return fmt.Sprintf("%s.%s.svc.%s", t.MinIOCIServiceName(), t.Namespace, ClusterDomain)
}

Expand Down

0 comments on commit f0da7e9

Please sign in to comment.