@@ -602,7 +602,7 @@ func (lbc *loadBalancerController) getStreamServices(data map[string]string, pro
602602 // tcp upstreams cannot contain empty upstreams and there is no
603603 // default backend equivalent for TCP
604604 if len (endps ) == 0 {
605- glog .Warningf ("service %v/%v does no have any active endpoints" , svcNs , svcName )
605+ glog .Warningf ("service %v/%v does not have any active endpoints" , svcNs , svcName )
606606 continue
607607 }
608608
@@ -631,7 +631,7 @@ func (lbc *loadBalancerController) getDefaultUpstream() *nginx.Upstream {
631631 }
632632
633633 if ! svcExists {
634- glog .Warningf ("service %v does no exists" , svcKey )
634+ glog .Warningf ("service %v does not exists" , svcKey )
635635 upstream .Backends = append (upstream .Backends , nginx .NewDefaultServer ())
636636 return upstream
637637 }
@@ -640,7 +640,7 @@ func (lbc *loadBalancerController) getDefaultUpstream() *nginx.Upstream {
640640
641641 endps := lbc .getEndpoints (svc , svc .Spec .Ports [0 ].TargetPort , api .ProtocolTCP , & healthcheck.Upstream {})
642642 if len (endps ) == 0 {
643- glog .Warningf ("service %v does no have any active endpoints" , svcKey )
643+ glog .Warningf ("service %v does not have any active endpoints" , svcKey )
644644 upstream .Backends = append (upstream .Backends , nginx .NewDefaultServer ())
645645 } else {
646646 upstream .Backends = append (upstream .Backends , endps ... )
@@ -771,7 +771,7 @@ func (lbc *loadBalancerController) getUpstreamServers(ngxCfg config.Configuratio
771771 aUpstreams := make ([]* nginx.Upstream , 0 , len (upstreams ))
772772 for _ , value := range upstreams {
773773 if len (value .Backends ) == 0 {
774- glog .Warningf ("upstream %v does no have any active endpoints. Using default backend" , value .Name )
774+ glog .Warningf ("upstream %v does not have any active endpoints. Using default backend" , value .Name )
775775 value .Backends = append (value .Backends , nginx .NewDefaultServer ())
776776 }
777777 sort .Sort (nginx .UpstreamServerByAddrPort (value .Backends ))
@@ -822,7 +822,7 @@ func (lbc *loadBalancerController) createUpstreams(ngxCfg config.Configuration,
822822 }
823823
824824 if ! svcExists {
825- glog .Warningf ("service %v does no exists" , svcKey )
825+ glog .Warningf ("service %v does not exists" , svcKey )
826826 continue
827827 }
828828
@@ -834,7 +834,7 @@ func (lbc *loadBalancerController) createUpstreams(ngxCfg config.Configuration,
834834 if strconv .Itoa (int (servicePort .Port )) == bp || servicePort .TargetPort .String () == bp || servicePort .Name == bp {
835835 endps := lbc .getEndpoints (svc , servicePort .TargetPort , api .ProtocolTCP , hz )
836836 if len (endps ) == 0 {
837- glog .Warningf ("service %v does no have any active endpoints" , svcKey )
837+ glog .Warningf ("service %v does not have any active endpoints" , svcKey )
838838 }
839839
840840 upstreams [name ].Backends = append (upstreams [name ].Backends , endps ... )
0 commit comments