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 }