fix gofmt warning

pull/10719/head
Daniel Lee 8 years ago
parent 3ae1bf0c16
commit b7f023bc26
  1. 2
      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
}

Loading…
Cancel
Save