Skip to content

Commit

Permalink
client: deprecate old runbooks endpoint use list_runbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Aug 22, 2024
1 parent 3241f71 commit 9ae80ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (c *client) RunbookByID(ctx context.Context, id string) (*Runbook, error) {

func (c *client) Runbooks(ctx context.Context) ([]RunbookInfo, error) {
cl := c.cl
req, err := http.NewRequestWithContext(ctx, http.MethodGet, c.apiURL("/api/v1/runbooks/"), nil)
req, err := http.NewRequestWithContext(ctx, http.MethodGet, c.apiURL("/api/v1/list_runbooks"), nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9ae80ba

Please sign in to comment.