Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from andreacampi/add-app-name-to-bulk-api

Add the app name to the bulk API response.

Merged by Matthew Boedicker and April Yu.
  • Loading branch information...
commit 3d92ce2502ee3c3da1b185a0707cfadb505101fe 2 parents 5aa5515 + 824fd2a
pivotal-vmware authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cloud_controller/app/controllers/bulk_controller.rb
View
2  cloud_controller/app/controllers/bulk_controller.rb
@@ -59,7 +59,7 @@ def hash_apps_by_id(arr)
def hashify_app(app)
h = {}
- [:id, :instances, :state, :framework, :runtime, :memory, :package_state, :updated_at
+ [:id, :name, :instances, :state, :framework, :runtime, :memory, :package_state, :updated_at
].each {|field| h[field] = app.send(field) }
h[:version] = app.generate_version
Please sign in to comment.
Something went wrong with that request. Please try again.