diff options
Diffstat (limited to 'lib/chef_zero/endpoints/role_environments_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/role_environments_endpoint.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef_zero/endpoints/role_environments_endpoint.rb b/lib/chef_zero/endpoints/role_environments_endpoint.rb index d56930a..a408138 100644 --- a/lib/chef_zero/endpoints/role_environments_endpoint.rb +++ b/lib/chef_zero/endpoints/role_environments_endpoint.rb @@ -1,5 +1,5 @@ -require 'ffi_yajl' -require 'chef_zero/rest_base' +require "ffi_yajl" +require "chef_zero/rest_base" module ChefZero module Endpoints @@ -7,7 +7,7 @@ module ChefZero class RoleEnvironmentsEndpoint < RestBase def get(request) role = FFI_Yajl::Parser.parse(get_data(request, request.rest_path[0..3]), :create_additions => false) - json_response(200, [ '_default' ] + (role['env_run_lists'].keys || [])) + json_response(200, [ "_default" ] + (role["env_run_lists"].keys || [])) end end end |