Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loafoe committed Jun 15, 2022
1 parent ef0398f commit 672c85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/metrics_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (c *MetricsService) GetGroupedRules(options ...OptionFunc) (*[]Group, *Resp
return &response.Data.Groups, resp, err
}

// GetRuleByID retrievs a rule by ID
// GetRuleByID retrieves a rule by ID
func (c *MetricsService) GetRuleByID(id string, options ...OptionFunc) (*Rule, *Response, error) {
req, err := c.client.newRequest(CONSOLE, "GET", "v3/metrics/rules/"+id, nil, options)
if err != nil {
Expand Down

0 comments on commit 672c85f

Please sign in to comment.