Skip to content

Commit

Permalink
Properly convert provider name to symbol when searching for boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed May 4, 2013
1 parent 4f563e3 commit ccfd321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ BUG FIXES:
carry on checks whether the halt succeeded. [GH-1679]
- Handle the case where a roles path for Chef solo isn't properly
defined. [GH-1665]
- Finding V1 boxes now works properly again to avoid "box not found"
errors. [GH-1691]

## 1.2.2 (April 23, 2013)

Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant/box_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def find(name, provider)

# If we're looking for a VirtualBox box, then we check if there is
# a V1 box.
if provider == :virtualbox
if provider.to_sym == :virtualbox
# Check if a V1 version of this box exists, and if so, raise an
# exception notifying the caller that the box exists but needs
# to be upgraded. We don't do the upgrade here because it can be
Expand Down

0 comments on commit ccfd321

Please sign in to comment.