Skip to content

Commit

Permalink
Fix $service_name and $service_port variables values without host (ku…
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and towolf committed Jun 16, 2020
1 parent 3275e05 commit 4a3e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ingress/controller/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func getIngressInformation(i, h, p interface{}) *ingressInformation {
continue
}

if hostname != "" && hostname != rule.Host {
if hostname != "_" && rule.Host == "" {
continue
}

Expand Down

0 comments on commit 4a3e5fc

Please sign in to comment.