Skip to content

Commit

Permalink
Fixed a TODO comment by reviewing the code
Browse files Browse the repository at this point in the history
There was a TODO asking for the code to be reviewed.  I've done that, so I removed the TODO.
  • Loading branch information
knobunc committed Oct 30, 2017
1 parent 474bead commit 6ae67c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/template/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func createRouterEndpoints(endpoints *kapi.Endpoints, excludeUDP bool, lookupSvc

out := make([]Endpoint, 0, len(endpoints.Subsets)*4)

// TODO: review me for sanity
// Now build the actual endpoints we pass to the template
for _, s := range subsets {
for _, p := range s.Ports {
if excludeUDP && p.Protocol == kapi.ProtocolUDP {
Expand Down

0 comments on commit 6ae67c3

Please sign in to comment.