From c2b7ee899d6e77a2146155bfc63e18ff65e8989e Mon Sep 17 00:00:00 2001 From: Jack Loughran <30052269+jackloughran@users.noreply.github.com> Date: Fri, 7 Aug 2020 16:10:38 -0400 Subject: [PATCH] fix error message in tests --- agent/structs/config_entry_gateways_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/structs/config_entry_gateways_test.go b/agent/structs/config_entry_gateways_test.go index cf341f4b3c51..08efc052caa0 100644 --- a/agent/structs/config_entry_gateways_test.go +++ b/agent/structs/config_entry_gateways_test.go @@ -326,7 +326,7 @@ func TestIngressConfigEntry_Validate(t *testing.T) { }, }, }, - expectErr: "Protocol must be either 'http' or 'tcp', 'asdf' is an unsupported protocol.", + expectErr: "Protocol must be 'http', 'tcp', or 'grpc'. 'asdf' is an unsupported protocol.", }, { name: "hosts cannot be set on a tcp listener",