From 582f214024d5a6942af909e72eb06b046209ade0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 21 Apr 2012 17:32:13 -0700 Subject: [PATCH] Fix some basic mistakes with commands --- plugins/commands/box/command/root.rb | 2 +- plugins/commands/reload/command.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/box/command/root.rb b/plugins/commands/box/command/root.rb index f8ed23125..80a439051 100644 --- a/plugins/commands/box/command/root.rb +++ b/plugins/commands/box/command/root.rb @@ -9,7 +9,7 @@ module VagrantPlugins @main_args, @sub_command, @sub_args = split_main_and_subcommand(argv) - @subcommands = Registry.new + @subcommands = Vagrant::Registry.new @subcommands.register(:add) { Add } @subcommands.register(:list) { List } @subcommands.register(:remove) { Remove } diff --git a/plugins/commands/reload/command.rb b/plugins/commands/reload/command.rb index da452e11d..ce1194185 100644 --- a/plugins/commands/reload/command.rb +++ b/plugins/commands/reload/command.rb @@ -5,7 +5,7 @@ module VagrantPlugins class Command < Vagrant::Command::Base # We assume that the `up` plugin exists and that we'll have access # to this. - include Vagrant::CommandUp::StartMixins + include VagrantPlugins::CommandUp::StartMixins def execute options = {}