Reference proper constant ALL_ACTIONS

This commit is contained in:
Mitchell Hashimoto 2012-06-27 11:16:04 -07:00
parent 10a7fc09dc
commit 134e56db21
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ module Vagrant
# Go through all the registered plugins and get all the hooks
# for this sequence.
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.each do |hook|