wait on the cloned app id

This commit is contained in:
Girish Ramakrishnan 2016-10-03 13:40:14 -07:00
parent 55b337eefc
commit 512e9d682b
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ Cloudron.prototype.cloneApp = function (appId, newLocation, portBindings) {
common.verifyResponse2xx(res, 'App could not be clone');
console.log('App cloned to different location'.green);
var app = this.waitForApp(appId);
var app = this.waitForApp(res.body.id);
res = request.get('https://' + app.fqdn).end();
common.verifyResponse2xx(res, 'App is unreachable');