Skip to content

Commit

Permalink
Merge pull request #297 from Scalingo/style/296/send_signal_renamed_kill
Browse files Browse the repository at this point in the history
style(kill): Send signal renamed Kill
  • Loading branch information
EtienneM authored Dec 29, 2022
2 parents 0ed6ec4 + ff397d2 commit 205c057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 205c057

Please sign in to comment.