mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
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 ```
This commit is contained in:
commit
b6ff77eecf
@ -399,7 +399,7 @@ func (s *ServiceController) isSynced() bool {
|
||||
}
|
||||
|
||||
// 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 {
|
||||
if !s.isSynced() {
|
||||
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
|
||||
}
|
||||
|
||||
// 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) {
|
||||
addresses := []v1.EndpointAddress{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user