From cf018cb2e0774dfb0c579d19a3c89cdc49deda68 Mon Sep 17 00:00:00 2001 From: freddygv Date: Thu, 3 Sep 2020 08:56:17 -0600 Subject: [PATCH] Fixup stray LB infix refs --- command/config/write/config_write_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/command/config/write/config_write_test.go b/command/config/write/config_write_test.go index 79f962835e..6b05790665 100644 --- a/command/config/write/config_write_test.go +++ b/command/config/write/config_write_test.go @@ -1203,7 +1203,7 @@ func TestParseConfigEntry(t *testing.T) { Kind = "service-resolver" Name = "main" LoadBalancer = { - EnvoyLBConfig = { + EnvoyConfig = { Policy = "ring_hash" RingHashConfig = { MinimumRingSize = 1 @@ -1268,7 +1268,7 @@ func TestParseConfigEntry(t *testing.T) { "Kind": "service-resolver", "Name": "main", "LoadBalancer": { - "EnvoyLBConfig": { + "EnvoyConfig": { "Policy": "ring_hash", "RingHashConfig": { "MinimumRingSize": 1, @@ -1346,7 +1346,7 @@ func TestParseConfigEntry(t *testing.T) { Kind = "service-resolver" Name = "main" LoadBalancer = { - EnvoyLBConfig = { + EnvoyConfig = { Policy = "least_request" LeastRequestConfig = { ChoiceCount = 2 @@ -1373,7 +1373,7 @@ func TestParseConfigEntry(t *testing.T) { "Kind": "service-resolver", "Name": "main", "LoadBalancer": { - "EnvoyLBConfig": { + "EnvoyConfig": { "Policy": "least_request", "LeastRequestConfig": { "ChoiceCount": 2