mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #32472 from lojies/changeinfofErrorfendpoint_helper
Automatic merge from submit-queue change infof to Errorf in endpoint_helper.go change glog.Infof() to glog.Errorf()
This commit is contained in:
commit
b50251c1eb
@ -123,7 +123,7 @@ func (cc *ClusterController) GetClusterStatus(cluster *federation_v1beta1.Cluste
|
||||
glog.Infof("It's a new cluster, a cluster client will be created")
|
||||
client, err := NewClusterClientSet(cluster)
|
||||
if err != nil || client == nil {
|
||||
glog.Infof("Failed to create cluster client, err: %v", err)
|
||||
glog.Errorf("Failed to create cluster client, err: %v", err)
|
||||
return nil, err
|
||||
}
|
||||
clusterClient = *client
|
||||
|
@ -62,7 +62,7 @@ func (cc *clusterClientCache) syncEndpoint(key, clusterName string, clusterCache
|
||||
}
|
||||
endpointInterface, exists, err := clusterCache.endpointStore.GetByKey(key)
|
||||
if err != nil {
|
||||
glog.Infof("Did not successfully get %v from store: %v, will retry later", key, err)
|
||||
glog.Errorf("Did not successfully get %v from store: %v, will retry later", key, err)
|
||||
clusterCache.endpointQueue.Add(key)
|
||||
return err
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ func (cc *clusterClientCache) syncService(key, clusterName string, clusterCache
|
||||
}
|
||||
serviceInterface, exists, err := clusterCache.serviceStore.GetByKey(key)
|
||||
if err != nil {
|
||||
glog.Infof("Did not successfully get %v from store: %v, will retry later", key, err)
|
||||
glog.Errorf("Did not successfully get %v from store: %v, will retry later", key, err)
|
||||
clusterCache.serviceQueue.Add(key)
|
||||
return err
|
||||
}
|
||||
|
@ -819,7 +819,7 @@ func (s *ServiceController) syncService(key string) error {
|
||||
// obj holds the latest service info from apiserver
|
||||
obj, exists, err := s.serviceStore.Store.GetByKey(key)
|
||||
if err != nil {
|
||||
glog.Infof("Unable to retrieve service %v from store: %v", key, err)
|
||||
glog.Errorf("Unable to retrieve service %v from store: %v", key, err)
|
||||
s.queue.Add(key)
|
||||
return err
|
||||
}
|
||||
|
@ -481,7 +481,7 @@ func (dc *DeploymentController) syncDeployment(key string) error {
|
||||
|
||||
obj, exists, err := dc.dStore.Indexer.GetByKey(key)
|
||||
if err != nil {
|
||||
glog.Infof("Unable to retrieve deployment %v from store: %v", key, err)
|
||||
glog.Errorf("Unable to retrieve deployment %v from store: %v", key, err)
|
||||
return err
|
||||
}
|
||||
if !exists {
|
||||
|
@ -185,7 +185,7 @@ func (nm *NamespaceController) syncNamespaceFromKey(key string) (err error) {
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
glog.Infof("Unable to retrieve namespace %v from store: %v", key, err)
|
||||
glog.Errorf("Unable to retrieve namespace %v from store: %v", key, err)
|
||||
nm.queue.Add(key)
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user