Skip to content

Commit 74dde0c

Browse files
committed
Correct hostname
1 parent 6465760 commit 74dde0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/ingress/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func FindIngressDNSName(ing *networking.Ingress) string {
1818
func FindIngressTwoDNSName(ing *networking.Ingress) (albDNS string, nlbDNS string) {
1919
for _, ingSTS := range ing.Status.LoadBalancer.Ingress {
2020
if ingSTS.Hostname != "" {
21-
if strings.Contains(ingSTS.Hostname, "elb.amazonaws.com") {
21+
if strings.Contains(ingSTS.Hostname, "elb.amazonaws") {
2222
albDNS = ingSTS.Hostname
2323
} else {
2424
nlbDNS = ingSTS.Hostname

0 commit comments

Comments
 (0)