mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
fix typos in federation-controller
This commit is contained in:
parent
2495cc602f
commit
1562bbef93
@ -399,7 +399,7 @@ func (s *ServiceController) isSynced() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reconcileService triggers reconciliation of a federated service with corresponding services in federated clusters.
|
// reconcileService triggers reconciliation of a federated service with corresponding services in federated clusters.
|
||||||
// This function is called on service Addition/Deletion/Updation either in federated cluster or in federation.
|
// This function is called on service Addition/Deletion/Update either in federated cluster or in federation.
|
||||||
func (s *ServiceController) reconcileService(key string) reconciliationStatus {
|
func (s *ServiceController) reconcileService(key string) reconciliationStatus {
|
||||||
if !s.isSynced() {
|
if !s.isSynced() {
|
||||||
glog.V(4).Infof("Data store not synced, delaying reconcilation: %v", key)
|
glog.V(4).Infof("Data store not synced, delaying reconcilation: %v", key)
|
||||||
@ -621,7 +621,7 @@ func (s *ServiceController) getServiceStatusInCluster(cluster *v1beta1.Cluster,
|
|||||||
return lbStatus, nil
|
return lbStatus, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// getServiceEndpointsInCluster returns ready endpoints corresonding to service in federated cluster
|
// getServiceEndpointsInCluster returns ready endpoints corresponding to service in federated cluster
|
||||||
func (s *ServiceController) getServiceEndpointsInCluster(cluster *v1beta1.Cluster, key string) ([]v1.EndpointAddress, error) {
|
func (s *ServiceController) getServiceEndpointsInCluster(cluster *v1beta1.Cluster, key string) ([]v1.EndpointAddress, error) {
|
||||||
addresses := []v1.EndpointAddress{}
|
addresses := []v1.EndpointAddress{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user