Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Fix for BugZ#817985. gear_profile was not being passed for scaled apps
Browse files Browse the repository at this point in the history
  • Loading branch information
kraman committed May 2, 2012
1 parent 9cc393a commit 7690635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion express/lib/rhc-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def self.create_app(libra_server, net_http, user_info, app_name, app_type, rhlog
namespace = domain.id
# Catch errors
begin
application = domain.add_application(app_name,{:cartridge => app_type, :scale => true})
application = domain.add_application(app_name,{:cartridge => app_type, :scale => true, :gear_profile => gear_size})

# Variables that are needed for the rest of the function
app_uuid = application.uuid
Expand Down

0 comments on commit 7690635

Please sign in to comment.