Skip to content

Commit

Permalink
bugfix: clear destinations field.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodman10 committed Aug 14, 2023
1 parent d8aa1de commit 26194b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/dataplane/parser/translate_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ func applyExpressionToIngressRules(result *ingressRules) {
for _, svc := range result.ServiceNameToServices {
for i := range svc.Routes {
translators.ApplyExpressionToL4KongRoute(&svc.Routes[i])
svc.Routes[i].Destinations = nil
svc.Routes[i].SNIs = nil
}
}
}

0 comments on commit 26194b6

Please sign in to comment.