Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
iagodvsantos committed Jul 4, 2023
1 parent 03cb802 commit c2d988c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/qdr/qdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,10 @@ func GetRouterConfigForHeadlessProxy(definition types.ServiceInterface, siteId s

if len(definition.Targets) > 0 {
target := definition.Targets[0]
targetNs = target.Namespace
if len(target.Namespace) > 0 {
targetNs = target.Namespace
}

if len(target.TargetPorts) > 0 {
ports = target.TargetPorts
}
Expand Down

0 comments on commit c2d988c

Please sign in to comment.