Fix golint failures in pkg/proxy

Review feedback - remove alias from imports

fix comments
This commit is contained in:
Anish Ramasekar
2019-07-05 12:44:37 -07:00
parent 00cf865762
commit 2878270f5b
12 changed files with 18 additions and 19 deletions

View File

@@ -200,7 +200,7 @@ type UpdateEndpointMapResult struct {
LastChangeTriggerTimes []time.Time
}
// UpdateEndpointsMap updates endpointsMap base on the given changes.
// Update updates endpointsMap base on the given changes.
func (em EndpointsMap) Update(changes *EndpointChangeTracker) (result UpdateEndpointMapResult) {
result.StaleEndpoints = make([]ServiceEndpoint, 0)
result.StaleServiceNames = make([]ServicePortName, 0)