Convert proto list to array using #to_a

This commit is contained in:
Chris Roberts 2021-10-13 15:27:05 -07:00 committed by Paul Hinze
parent 66d2a70291
commit 5052e1b9bf
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -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