Reference proper constant ALL_ACTIONS
This commit is contained in:
parent
10a7fc09dc
commit
134e56db21
|
@ -59,7 +59,7 @@ module Vagrant
|
||||||
# Go through all the registered plugins and get all the hooks
|
# Go through all the registered plugins and get all the hooks
|
||||||
# for this sequence.
|
# for this sequence.
|
||||||
Vagrant.plugin("1").registered.each do |plugin|
|
Vagrant.plugin("1").registered.each do |plugin|
|
||||||
hooks = plugin.action_hook(Vagrant::Plugin::V1::ALL_ACTIONS)
|
hooks = plugin.action_hook(Vagrant::Plugin::V1::Plugin::ALL_ACTIONS)
|
||||||
hooks += plugin.action_hook(id)
|
hooks += plugin.action_hook(id)
|
||||||
|
|
||||||
hooks.each do |hook|
|
hooks.each do |hook|
|
||||||
|
|
Loading…
Reference in New Issue