Commit 16683b40 authored by Clayton Coleman's avatar Clayton Coleman

endpoints controller is too verbose

Logging at v(3) instead of v(0)
parent 585d2c8c
...@@ -56,7 +56,7 @@ func (e *EndpointController) SyncServiceEndpoints() error { ...@@ -56,7 +56,7 @@ func (e *EndpointController) SyncServiceEndpoints() error {
continue continue
} }
glog.Infof("About to update endpoints for service %v", service.Name) glog.V(3).Infof("About to update endpoints for service %v", service.Name)
pods, err := e.client.Pods(service.Namespace).List(labels.Set(service.Spec.Selector).AsSelector()) pods, err := e.client.Pods(service.Namespace).List(labels.Set(service.Spec.Selector).AsSelector())
if err != nil { if err != nil {
glog.Errorf("Error syncing service: %#v, skipping.", service) glog.Errorf("Error syncing service: %#v, skipping.", service)
...@@ -100,7 +100,7 @@ func (e *EndpointController) SyncServiceEndpoints() error { ...@@ -100,7 +100,7 @@ func (e *EndpointController) SyncServiceEndpoints() error {
} else { } else {
// Pre-existing // Pre-existing
if endpointsEqual(currentEndpoints, endpoints) { if endpointsEqual(currentEndpoints, endpoints) {
glog.V(2).Infof("endpoints are equal for %s, skipping update", service.Name) glog.V(3).Infof("endpoints are equal for %s, skipping update", service.Name)
continue continue
} }
_, err = e.client.Endpoints(service.Namespace).Update(newEndpoints) _, err = e.client.Endpoints(service.Namespace).Update(newEndpoints)
......
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