diff options
Diffstat (limited to 'lib/chef/resource_collection/resource_list.rb')
-rw-r--r-- | lib/chef/resource_collection/resource_list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_collection/resource_list.rb b/lib/chef/resource_collection/resource_list.rb index 5f69908a5e..5ea018a3e8 100644 --- a/lib/chef/resource_collection/resource_list.rb +++ b/lib/chef/resource_collection/resource_list.rb @@ -98,7 +98,7 @@ class Chef end def self.from_hash(o) - collection = new() + collection = new resources = o["instance_vars"]["@resources"].map { |r| Chef::Resource.from_hash(r) } collection.instance_variable_set(:@resources, resources) collection |