Convert proto list to array using #to_a
This commit is contained in:
parent
66d2a70291
commit
5052e1b9bf
@ -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…
x
Reference in New Issue
Block a user