Skip to content

Commit 4c28f63

Browse files
committed
fix
1 parent 5d4359e commit 4c28f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/state/graph/policies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ func getHostnameMatches(hostname string, routeHostnames []v1.Hostname) []string
497497
}
498498

499499
if foundExactMatch {
500-
return []string{}
500+
return []string{hostname}
501501
}
502502
return moreSpecificHostnames
503503
}

0 commit comments

Comments
 (0)