Commit b6ff77ee authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50134 from m1093782566/fed-controller

Automatic merge from submit-queue fix typos in federation-controller **What this PR does / why we need it**: fix some typos in federation-controller. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 0b9aa056 1562bbef
...@@ -399,7 +399,7 @@ func (s *ServiceController) isSynced() bool { ...@@ -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, ...@@ -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{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment