config: add additional dns lookup families, default to V4_PREFERRED (#3957)

This commit is contained in:
Caleb Doxsey 2023-02-10 16:29:23 -07:00 committed by GitHub
parent e66c26c9ad
commit b50d5f3203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 12 deletions

View file

@ -676,6 +676,7 @@ func Test_buildCluster(t *testing.T) {
}
}
},
"dnsLookupFamily": "V4_PREFERRED",
"loadAssignment": {
"clusterName": "example",
"endpoints": [{
@ -745,6 +746,7 @@ func Test_buildCluster(t *testing.T) {
}
}
},
"dnsLookupFamily": "V4_PREFERRED",
"loadAssignment": {
"clusterName": "example",
"endpoints": [{
@ -800,6 +802,7 @@ func Test_buildCluster(t *testing.T) {
}
}
},
"dnsLookupFamily": "V4_PREFERRED",
"loadAssignment": {
"clusterName": "example",
"endpoints": [{
@ -857,6 +860,7 @@ func Test_buildCluster(t *testing.T) {
}
}
},
"dnsLookupFamily": "V4_PREFERRED",
"loadAssignment": {
"clusterName": "example",
"endpoints": [{