Skip to content

Commit

Permalink
Merge pull request #119966 from aojea/fixfix
Browse files Browse the repository at this point in the history
e2e framework util subtle bug checking endpoints
  • Loading branch information
k8s-ci-robot committed Aug 16, 2023
2 parents a5b3a4b + 8314122 commit 18290bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/framework/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func isIPv6Endpoint(e *v1.Endpoints) bool {
continue
}
// Endpoints are single family, so it is enough to check only one address
return netutils.IsIPv6String(sub.Addresses[0].IP)
return netutils.IsIPv6String(addr.IP)
}
}
// default to IPv4 an Endpoint without IP addresses
Expand Down

0 comments on commit 18290bf

Please sign in to comment.