We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94fc39d commit 2de9467Copy full SHA for 2de9467
internal/kgateway/translator/irtranslator/gateway.go
@@ -124,8 +124,8 @@ func (t *Translator) ComputeListener(
124
}
125
126
// sort filter chains for idempotency
127
- sort.Slice(ret.FilterChains, func(i, j int) bool {
128
- return ret.FilterChains[i].Name < ret.FilterChains[j].Name
+ sort.Slice(ret.GetFilterChains(), func(i, j int) bool {
+ return ret.GetFilterChains()[i].GetName() < ret.GetFilterChains()[j].GetName()
129
})
130
if hasTls {
131
ret.ListenerFilters = append(ret.GetListenerFilters(), tlsInspectorFilter())
0 commit comments