Update internal/mesh/internal/controllers/sidecarproxy/builder/local_app.go

Co-authored-by: John Landa <jonathanlanda@gmail.com>
pull/20453/head
skpratt 2024-02-07 13:54:23 -06:00
parent 96bf768213
commit f3e0535568
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ type PortRule struct {
rule *pbproxystate.DestinationRule
}
func convertDestinationRule(allPorts []string, dr *pbauth.DestinationRule) map[string]*PortRule { // was []string, dr
func convertDestinationRule(allPorts []string, dr *pbauth.DestinationRule) map[string]*PortRule {
portRules := make(map[string]*PortRule)
targetPorts := allPorts
if len(dr.PortNames) > 0 {