mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Convert proto list to array using #to_a
This commit is contained in:
parent
66d2a70291
commit
5052e1b9bf
1 changed files with 1 additions and 3 deletions
|
|
@ -23,9 +23,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def seed(req, ctx)
|
||||
logger.info "seeding this service with values from the client"
|
||||
logger.info "values to seed include: #{req.list.inspect}"
|
||||
@seeds = req.list.map{ |x| x }
|
||||
@seeds = req.list.to_a
|
||||
Empty.new
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue