From a0642a68c9196f7e435d54fc98a038a8932f5cbf Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 14 Jun 2019 14:45:45 -0400 Subject: [PATCH] 14287: Update test to new config struct. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/controller/router/router_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/controller/router/router_test.go b/lib/controller/router/router_test.go index daa2ac9bf7..63e5678ec7 100644 --- a/lib/controller/router/router_test.go +++ b/lib/controller/router/router_test.go @@ -32,9 +32,8 @@ type RouterSuite struct { } func (s *RouterSuite) SetUpTest(c *check.C) { - cluster := &arvados.Cluster{ - TLS: arvados.TLS{Insecure: true}, - } + cluster := &arvados.Cluster{} + cluster.TLS.Insecure = true arvadostest.SetServiceURL(&cluster.Services.RailsAPI, "https://"+os.Getenv("ARVADOS_TEST_API_HOST")) s.rtr = New(cluster) } -- 2.30.2