Stop one off Dyno with custom Type
Open
bug
- Dominant language
- Ruby
- Stars
- 216
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
**Potential Bug**
Start a one-off dyno with this command
`heroku.dyno.create(heroku_app, {command: "while :; do echo 'hit ctrl-c'; sleep 1; done", type: "test"})`
Heroku logs this:
`app[api]: Starting process with command 'while :; do echo 'hit ctrl-c'; sleep 1; done' by user`
But this Dyno is not killed with the command
`heroku.dyno.restart(heroku_app, "test.1234") # assuming the Dyno name is test.1234
Returned is an empty hash {}`
Stopping with `heroku ps:stop test.1234` works
This does not occur if you do not specify the "type" during the create call. For example, you can kill a one-off Dyno that is named something like `run.1234`
Contributor guide
Assessment
This issue has not been assessed yet.