From 8e66586fa655142ff296d853c796c03090e7f673 Mon Sep 17 00:00:00 2001 From: Blake Rouse Date: Wed, 6 Oct 2021 09:20:40 -0400 Subject: [PATCH] Fix go fmt. --- libbeat/kibana/client_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libbeat/kibana/client_test.go b/libbeat/kibana/client_test.go index 155c9a5a0da..d3e2a66f8d3 100644 --- a/libbeat/kibana/client_test.go +++ b/libbeat/kibana/client_test.go @@ -102,13 +102,13 @@ func TestServiceToken(t *testing.T) { kibanaTs := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Write([]byte(`{}`)) - assert.Equal(t, "Bearer " + serviceToken, r.Header.Get("Authorization")) + assert.Equal(t, "Bearer "+serviceToken, r.Header.Get("Authorization")) })) defer kibanaTs.Close() conn := Connection{ - URL: kibanaTs.URL, - HTTP: http.DefaultClient, + URL: kibanaTs.URL, + HTTP: http.DefaultClient, ServiceToken: serviceToken, } code, _, err := conn.Request(http.MethodPost, "", url.Values{}, http.Header{"foo": []string{"bar"}}, nil)