Skip to content

Commit

Permalink
[fix] New apps failed when deployed with cloud options
Browse files Browse the repository at this point in the history
  • Loading branch information
julianduque committed Apr 12, 2013
1 parent af334ad commit 7f1cb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/commands/apps.js
Expand Up @@ -969,7 +969,7 @@ apps.cloud = function (name, provider, datacenter) {
//
function setCloud(app) {
drones = drones || app.maxDrones;
ram = ram || app.config.cloud[0].ram;
ram = ram || (app.config.cloud ? app.config.cloud[0].ram : 256);

var cloud = {
datacenter: datacenter,
Expand Down

0 comments on commit 7f1cb6a

Please sign in to comment.