Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Removed useless use of each_with_index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Conner committed Nov 7, 2016
1 parent 5a80a4d commit 45cb395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/terraforming/resource/efs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def tf
end

def tfstate
file_systems.each_with_index.inject({}) do |resources, (efs, idx)|
file_systems.inject({}) do |resources, efs|
attributes = {
"creation_token" => efs.creation_token,
"id" => efs.file_system_id,
Expand Down

0 comments on commit 45cb395

Please sign in to comment.