diff options
Diffstat (limited to 'lib/chef/resource_collection/resource_set.rb')
-rw-r--r-- | lib/chef/resource_collection/resource_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_collection/resource_set.rb b/lib/chef/resource_collection/resource_set.rb index 9760cf4598..c515e68b38 100644 --- a/lib/chef/resource_collection/resource_set.rb +++ b/lib/chef/resource_collection/resource_set.rb @@ -140,7 +140,7 @@ class Chef end def self.from_hash(o) - collection = new() + collection = new rl = o["instance_vars"]["@resources_by_key"] resources = rl.merge(rl) { |k, r| Chef::Resource.from_hash(r) } collection.instance_variable_set(:@resources_by_key, resources) |