summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/role_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/role_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/role_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/role_endpoint.rb b/lib/chef_zero/endpoints/role_endpoint.rb
index d4bc4cd..4e31cdc 100644
--- a/lib/chef_zero/endpoints/role_endpoint.rb
+++ b/lib/chef_zero/endpoints/role_endpoint.rb
@@ -9,7 +9,7 @@ module ChefZero
def populate_defaults(request, response_json)
role = FFI_Yajl::Parser.parse(response_json)
role = ChefData::DataNormalizer.normalize_role(role, request.rest_path[3])
- FFI_Yajl::Encoder.encode(role, :pretty => true)
+ FFI_Yajl::Encoder.encode(role, pretty: true)
end
end
end