provisioners/docker: use proper UNSET_VALUE for no value

This commit is contained in:
Mitchell Hashimoto 2013-12-03 16:19:08 -08:00
parent 999ce22354
commit 8f4fa897d0
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ module VagrantPlugins
def initialize
@images = Set.new
@containers = Hash.new
@version = :latest
@version = UNSET_VALUE
end
def images=(images)
@ -29,6 +29,7 @@ module VagrantPlugins
end
def finalize!
@version = "latest" if @version == UNSET_VALUE
@version = @version.to_sym
end