Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit bcbbe36

Browse files
Merge pull request #36 from mdb/mdb/fix-annotations
correct `GET /api/annotations` path
2 parents c957748 + 534d901 commit bcbbe36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

annotation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type GraphiteAnnotation struct {
3838
// Annotations fetches the annotations queried with the params it's passed
3939
func (c *Client) Annotations(params url.Values) ([]Annotation, error) {
4040
result := []Annotation{}
41-
err := c.request("GET", "/api/annotation", params, nil, &result)
41+
err := c.request("GET", "/api/annotations", params, nil, &result)
4242
if err != nil {
4343
return nil, err
4444
}

0 commit comments

Comments
 (0)