diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bd63193..0b3c7a70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * feat(events): Add Detached field for EventRun [#292](https://github.com/Scalingo/go-scalingo/pull/292) * chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3 -* feat(send-signal): new function `ContainersSendSignal` to request the send-signal api's endpoint [#295](https://github.com/Scalingo/go-scalingo/pull/295) +* feat(send-signal): new function `ContainersKill` to request the send-signal api's endpoint [#295](https://github.com/Scalingo/go-scalingo/pull/295) ## 6.0.1 diff --git a/container.go b/container.go index 76cf0dc5..43dafff1 100644 --- a/container.go +++ b/container.go @@ -44,7 +44,7 @@ func (c *Client) ContainersStop(ctx context.Context, appName, containerID string return nil } -func (c *Client) ContainersSendSignal(ctx context.Context, app string, signal string, containerID string) error { +func (c *Client) ContainersKill(ctx context.Context, app string, signal string, containerID string) error { req := &httpclient.APIRequest{ Method: "POST", Endpoint: "/apps/" + app + "/containers/" + containerID + "/kill",