Skip to content

Commit bbcf13d

Browse files
sdelanoSeth Falcon
authored andcommitted
fix the /environments/:id/nodes controller (typo)
1 parent 6650804 commit bbcf13d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chef-server-api/app/controllers/environments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def list_cookbooks
9797
# GET /environments/:environment_id/nodes
9898
def list_nodes
9999
node_list = Chef::Node.cdb_list_by_environment(params[:environment_id])
100-
display(node_list.inject({}) {|r,n| r[n] = absolute_url(:node, n); r}
100+
display(node_list.inject({}) {|r,n| r[n] = absolute_url(:node, n); r})
101101
end
102102

103103
private

0 commit comments

Comments
 (0)