@@ -325,18 +325,12 @@ func checkTargetRoutesForOverlap(
325325func checkForRouteOverlap (route * L7Route , hostPortPaths map [string ]string ) * conditions.Condition {
326326 for _ , parentRef := range route .ParentRefs {
327327 if parentRef .Attachment != nil {
328- // fmt.Printf("This is the parentRef attachment: %#v\n", parentRef.Attachment)
329328 port := parentRef .Attachment .ListenerPort
330329 for _ , hostname := range parentRef .Attachment .AcceptedHostnames {
331- // fmt.Println("Here is the keyName: " + keyName)
332- // fmt.Printf("This is the parentref hostnames: %v\n", hostname)
333330 for _ , rule := range route .Spec .Rules {
334- // fmt.Printf("This is the routeRule: %v\n", rule)
335331 for _ , match := range rule .Matches {
336- // fmt.Printf("This is the match: %v\n", match)
337332 if match .Path != nil && match .Path .Value != nil {
338333 key := fmt .Sprintf ("%s:%d%s" , hostname , port , * match .Path .Value )
339- // fmt.Println("This is the key: " + key)
340334 if val , ok := hostPortPaths [key ]; ! ok {
341335 hostPortPaths [key ] = fmt .Sprintf ("%s/%s" , route .Source .GetNamespace (), route .Source .GetName ())
342336 } else {
0 commit comments