mirror of https://github.com/hashicorp/consul
Update internal/mesh/internal/controllers/sidecarproxy/builder/local_app.go
Co-authored-by: John Landa <jonathanlanda@gmail.com>pull/20453/head
parent
96bf768213
commit
f3e0535568
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue