Class: Shipitron::Server::EcsTaskDefs::MapParsedTemplates
- Inherits:
-
Object
- Object
- Shipitron::Server::EcsTaskDefs::MapParsedTemplates
- Includes:
- Metaractor
- Defined in:
- lib/shipitron/server/ecs_task_defs/map_parsed_templates.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/shipitron/server/ecs_task_defs/map_parsed_templates.rb', line 12 def call parsed_templates.each do |parsed| task_def = ecs_task_defs.find {|t| t.name == parsed.family } next if task_def.nil? task_def.params = parsed end end |