From db47374c4f005ff3d7e9ed20a3d8c497b19b06cd Mon Sep 17 00:00:00 2001 From: Serge Catudal Date: Thu, 20 Sep 2018 13:23:13 -0400 Subject: [PATCH] Fix format for query tests Signed-off-by: Serge Catudal --- pkg/deployment/query_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/deployment/query_test.go b/pkg/deployment/query_test.go index 1b9b5477d..066797473 100644 --- a/pkg/deployment/query_test.go +++ b/pkg/deployment/query_test.go @@ -62,7 +62,7 @@ func TestQueryServices(t *testing.T) { } func TestQueryIngresses(t *testing.T) { - newBool := func (value bool) *bool { + newBool := func(value bool) *bool { return &value } @@ -78,12 +78,12 @@ func TestQueryIngresses(t *testing.T) { }, { name: "IngressEnabledFalse", - ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled:newBool(false)}, + ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled: newBool(false)}, expectedIngressesCount: 0, }, { name: "IngressEnabledTrue", - ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled:newBool(true)}, + ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled: newBool(true)}, expectedIngressesCount: 1, }, }