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 13, 2023
1 parent b0a0dee commit b765e37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/dataplane/parser/translate_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func applyExpressionToIngressRules(result *ingressRules) {
for _, svc := range result.ServiceNameToServices {
for i := range svc.Routes {
translators.ApplyExpressionToL4KongRoute(&svc.Routes[i])
svc.Routes[i].Destinations = nil
}
}
}

0 comments on commit b765e37

Please sign in to comment.