diff options
Diffstat (limited to 'lib/chef/api_client_v1.rb')
-rw-r--r-- | lib/chef/api_client_v1.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/api_client_v1.rb b/lib/chef/api_client_v1.rb index 20d1989d38..f3f83cad4e 100644 --- a/lib/chef/api_client_v1.rb +++ b/lib/chef/api_client_v1.rb @@ -190,7 +190,7 @@ class Chef def self.list(inflate = false) if inflate - response = Hash.new + response = {} Chef::Search::Query.new.search(:client) do |n| n = from_hash(n) if n.instance_of?(Hash) response[n.name] = n |