mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
provisioners/docker: use proper UNSET_VALUE for no value
This commit is contained in:
parent
999ce22354
commit
8f4fa897d0
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue