From a55c69c4c3935b3280b7c16e586def660d7ea08f Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 13 Aug 2020 03:55:42 +0200 Subject: [PATCH] Apply gofmt -s on storage/remote/write_test.go (#7791) Noticed in https://goreportcard.com/report/github.com/prometheus/prometheus This is the only file. Signed-off-by: Julien Pivotto --- storage/remote/write_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/remote/write_test.go b/storage/remote/write_test.go index e864785e09..c2b2afc475 100644 --- a/storage/remote/write_test.go +++ b/storage/remote/write_test.go @@ -306,7 +306,7 @@ func TestWriteStorageApplyConfigsPartialUpdate(t *testing.T) { RemoteTimeout: model.Duration(10 * time.Second), QueueConfig: config.DefaultQueueConfig, WriteRelabelConfigs: []*relabel.Config{ - &relabel.Config{ + { Regex: relabel.MustNewRegexp(".+"), }, },