provisioners/docker: use proper UNSET_VALUE for no value
This commit is contained in:
parent
999ce22354
commit
8f4fa897d0
|
@ -9,7 +9,7 @@ module VagrantPlugins
|
||||||
def initialize
|
def initialize
|
||||||
@images = Set.new
|
@images = Set.new
|
||||||
@containers = Hash.new
|
@containers = Hash.new
|
||||||
@version = :latest
|
@version = UNSET_VALUE
|
||||||
end
|
end
|
||||||
|
|
||||||
def images=(images)
|
def images=(images)
|
||||||
|
@ -29,6 +29,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def finalize!
|
def finalize!
|
||||||
|
@version = "latest" if @version == UNSET_VALUE
|
||||||
@version = @version.to_sym
|
@version = @version.to_sym
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue