Restore "Setting endpoints" log message

The "Setting endpoints" message from kube-proxy at high verbosity was
lost as part of a larger simplification in kubernetes/kubernetes#42747.

This change brings it back, simply outputting the just-constructed
addresses list.
This commit is contained in:
Matthias Rampke 2017-04-06 15:40:52 +00:00
parent 2d66f7bd28
commit 06ed262ff8

View File

@ -671,6 +671,7 @@ func accumulateEndpointsMap(endpoints *api.Endpoints, hostname string,
}
(*newEndpoints)[svcPort] = append((*newEndpoints)[svcPort], epInfo)
}
glog.V(3).Infof("Setting endpoints for %q to %+v", svcPort, (*newEndpoints)[svcPort])
}
}
}