From b7f023bc26c8d58604b47e1c6fdd6f60ea44263e Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Thu, 21 Dec 2017 08:34:57 +0100 Subject: [PATCH] fix gofmt warning --- pkg/api/annotations_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/annotations_test.go b/pkg/api/annotations_test.go index 5908c9a7aac..6b8cd443298 100644 --- a/pkg/api/annotations_test.go +++ b/pkg/api/annotations_test.go @@ -192,7 +192,7 @@ func (repo *fakeAnnotationsRepo) Update(item *annotations.Item) error { return nil } func (repo *fakeAnnotationsRepo) Find(query *annotations.ItemQuery) ([]*annotations.ItemDTO, error) { - annotations := []*annotations.ItemDTO{&annotations.ItemDTO{Id: 1}} + annotations := []*annotations.ItemDTO{{Id: 1}} return annotations, nil }