wait on the cloned app id
This commit is contained in:
parent
55b337eefc
commit
512e9d682b
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user