From 6a274a2a5e55ccf294cafaa4255b1935ae418f4b Mon Sep 17 00:00:00 2001 From: Oliver Eilhard Date: Fri, 7 Jan 2022 18:00:33 +0100 Subject: [PATCH] Silence trace output --- indices_get_index_template_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/indices_get_index_template_test.go b/indices_get_index_template_test.go index bb999fd6..a18549e4 100644 --- a/indices_get_index_template_test.go +++ b/indices_get_index_template_test.go @@ -6,8 +6,6 @@ package elastic import ( "context" - "log" - "os" "testing" ) @@ -36,8 +34,8 @@ func TestIndexGetIndexTemplateURL(t *testing.T) { } func TestIndexGetIndexTemplateService(t *testing.T) { - client := setupTestClientAndCreateIndex(t, SetTraceLog(log.New(os.Stdout, "", 0))) - // client := setupTestClientAndCreateIndex(t) + // client := setupTestClientAndCreateIndex(t, SetTraceLog(log.New(os.Stdout, "", 0))) + client := setupTestClientAndCreateIndex(t) create := true body := `