core: Call default_provider with the machine for commands

This commit is contained in:
Mitchell Hashimoto 2014-10-23 15:53:22 -07:00
parent 768d453739
commit 59dbe51ef2
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ module Vagrant
end
# Use the default provider if nothing else
provider_to_use ||= @env.default_provider
provider_to_use ||= @env.default_provider(machine: name)
# Get the right machine with the right provider
@env.machine(name, provider_to_use)