mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-20 00:10:45 -05:00
The "destroy_on_error" functionality for `vagrant up` is implemented in the `recover()` action chain, and works by firing off a destroy action from inside that chain. This is all well and good, but it copies its existing `env` which has had `action_name` set for the up action. This was causing action_hooks for up actions to attach to this destroy action stack. Setting the action_name explicitly in the env before firing the runner should correct the behavior. I'm not sure if raw_action_name is used anywhere but I figured it was better to be consistent vs conservative in what we change. |
||
|---|---|---|
| .. | ||
| action | ||
| cap | ||
| driver | ||
| model | ||
| util | ||
| action.rb | ||
| cap.rb | ||
| config.rb | ||
| plugin.rb | ||
| provider.rb | ||
| synced_folder.rb | ||