provisioners/docker: make sure version is correct type, fix Ruby warning

This commit is contained in:
Mitchell Hashimoto 2013-12-03 14:18:30 -08:00
parent 3289141fc3
commit dda7cbb412
1 changed files with 5 additions and 1 deletions

View File

@ -34,9 +34,13 @@ module VagrantPlugins
@containers[container_name.to_s] = params
end
def finalize!
@version = @version.to_sym
end
def merge(other)
super.tap do |result|
result.pull_images *(other.images + self.images)
result.pull_images(*(other.images + self.images))
end
end
end