From 6ae67c325b6b624af643e1a6e9c1523d85b596e2 Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Mon, 30 Oct 2017 10:03:32 -0400 Subject: [PATCH] Fixed a TODO comment by reviewing the code There was a TODO asking for the code to be reviewed. I've done that, so I removed the TODO. --- pkg/router/template/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/router/template/plugin.go b/pkg/router/template/plugin.go index aa27fbdab8ee..c0aa4c9d2fcc 100644 --- a/pkg/router/template/plugin.go +++ b/pkg/router/template/plugin.go @@ -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 {