Skip to content

Commit

Permalink
Chefstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mfortin committed Nov 27, 2023
1 parent 05a4411 commit e751ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kitchen/driver/aws/instance_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def ec2_instance_data
placement = config[:placement]
if placement
unless i.key?(:placement)
i[:placement] = { }
i[:placement] = {}
end
if placement[:affinity]
i[:placement][:affinity] = placement[:affinity]
Expand Down Expand Up @@ -221,7 +221,7 @@ def ec2_instance_data
end
license_specifications = config[:licenses]
if license_specifications
i[:licenses] = { }
i[:licenses] = {}
license_specifications.each do |license_configuration_arn|
i[:licenses].append({ license_configuration_arn: license_configuration_arn[:license_configuration_arn] })
end
Expand Down

0 comments on commit e751ba3

Please sign in to comment.