summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/data_bag_item_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/data_bag_item_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/data_bag_item_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/data_bag_item_endpoint.rb b/lib/chef_zero/endpoints/data_bag_item_endpoint.rb
index 915e9ad..ec21ab0 100644
--- a/lib/chef_zero/endpoints/data_bag_item_endpoint.rb
+++ b/lib/chef_zero/endpoints/data_bag_item_endpoint.rb
@@ -18,7 +18,7 @@ module ChefZero
def self.populate_defaults(request, response_json, data_bag, data_bag_item)
response = FFI_Yajl::Parser.parse(response_json)
response = ChefData::DataNormalizer.normalize_data_bag_item(response, data_bag, data_bag_item, request.method)
- FFI_Yajl::Encoder.encode(response, :pretty => true)
+ FFI_Yajl::Encoder.encode(response, pretty: true)
end
end
end