Skip to content

Commit 3b5a532

Browse files
committed
Add a FIXME about refactoring BackendGroups
1 parent c9f5834 commit 3b5a532

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/state/graph/httproute.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ type Route struct {
5555
}
5656

5757
// GetAllBackendGroups returns BackendGroups for all rules with valid matches and filters in the Route.
58+
//
59+
// FIXME(pleshakov) Improve the name once https://github.com/nginxinc/nginx-kubernetes-gateway/issues/468 is
60+
// implemented. The current name doesn't reflect the filtering of rules inside the loops.
61+
// See also the discussion below for more context:
62+
// https://github.com/nginxinc/nginx-kubernetes-gateway/pull/455#discussion_r1136277589
5863
func (r *Route) GetAllBackendGroups() []BackendGroup {
5964
count := 0
6065

0 commit comments

Comments
 (0)