Merge pull request #76165 from JacobTanenbaum/minor-cleanups

Minor cleanups in pkg/proxy/endpoints.go
This commit is contained in:
Kubernetes Prow Robot
2019-05-15 22:55:55 -07:00
committed by GitHub
6 changed files with 19 additions and 19 deletions

View File

@@ -684,7 +684,7 @@ func (proxier *Proxier) syncProxyRules() {
// even if nothing changed in the meantime. In other words, callers are
// responsible for detecting no-op changes and not calling this function.
serviceUpdateResult := proxy.UpdateServiceMap(proxier.serviceMap, proxier.serviceChanges)
endpointUpdateResult := proxy.UpdateEndpointsMap(proxier.endpointsMap, proxier.endpointsChanges)
endpointUpdateResult := proxier.endpointsMap.Update(proxier.endpointsChanges)
staleServices := serviceUpdateResult.UDPStaleClusterIP
// merge stale services gathered from updateEndpointsMap