Skip to content

Commit

Permalink
fix(http/check): fix handler path for a list of all labels for a check (
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Sep 25, 2019
1 parent d23b1f9 commit ff2747a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/check_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func NewCheckHandler(b *CheckBackend) *CheckHandler {
LabelService: b.LabelService,
ResourceType: influxdb.TelegrafsResourceType,
}
h.HandlerFunc("GET", checksIDLabelsIDPath, newGetLabelsHandler(labelBackend))
h.HandlerFunc("GET", checksIDLabelsPath, newGetLabelsHandler(labelBackend))
h.HandlerFunc("POST", checksIDLabelsPath, newPostLabelHandler(labelBackend))
h.HandlerFunc("DELETE", checksIDLabelsIDPath, newDeleteLabelHandler(labelBackend))

Expand Down

0 comments on commit ff2747a

Please sign in to comment.