add route to get platform status
This commit is contained in:
@@ -199,7 +199,7 @@ function startBox(done) {
|
||||
function (callback) {
|
||||
process.stdout.write('Waiting for platform to be ready...');
|
||||
async.retry({ times: 500, interval: 1000 }, function (retryCallback) {
|
||||
if (platform._isReady) return retryCallback();
|
||||
if (platform.getStatus().message === '') return retryCallback();
|
||||
process.stdout.write('.');
|
||||
retryCallback('Platform not ready yet');
|
||||
}, function (error) {
|
||||
|
||||
Reference in New Issue
Block a user