Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix destroy all functionality #121

Merged
merged 1 commit into from
Sep 2, 2020
Merged

Fix destroy all functionality #121

merged 1 commit into from
Sep 2, 2020

Conversation

schneems
Copy link
Contributor

@schneems schneems commented Sep 2, 2020

$ bundle exec hatchet destroy --all
home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/lib/hatchet/reaper.rb:83:in `destroy_all': undefined local variable or method `get_apps' for #<Hatchet::Reaper:0x000000000317f400> (NameError)
from /home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/bin/hatchet:112:in `destroy'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/bin/hatchet:186:in `<top (required)>'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/hatchet:23:in `load'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/hatchet:23:in `<main>'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `eval'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `<main>'

```
$ bundle exec hatchet destroy --all
home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/lib/hatchet/reaper.rb:83:in `destroy_all': undefined local variable or method `get_apps' for #<Hatchet::Reaper:0x000000000317f400> (NameError)
from /home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/bin/hatchet:112:in `destroy'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
from /home/travis/.rvm/gems/ruby-2.5.3/gems/heroku_hatchet-7.1.0/bin/hatchet:186:in `<top (required)>'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/hatchet:23:in `load'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/hatchet:23:in `<main>'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `eval'
from /home/travis/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `<main>'
```
@schneems schneems merged commit 85b5af7 into main Sep 2, 2020
@schneems schneems deleted the schneems/fix-destroy-all branch September 2, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants