From ca9110d75aa39dcf7010c814d2adcdc56736920a Mon Sep 17 00:00:00 2001 From: Jeff Morgan Date: Tue, 9 Dec 2014 10:54:46 -0800 Subject: [PATCH] Delete any app that isn't reflected in Docker --- meteor/client/lib/apputil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteor/client/lib/apputil.js b/meteor/client/lib/apputil.js index bf73a103f9..e33946e8aa 100644 --- a/meteor/client/lib/apputil.js +++ b/meteor/client/lib/apputil.js @@ -153,7 +153,7 @@ AppUtil.sync = function (callback) { var diffApps = _.difference(guiIds, containerIds); _.each(diffApps, function (appContainerId) { var app = Apps.findOne({'docker.Id': appContainerId}); - if (app && app.status !== 'STARTING') { + if (app) { AppUtil.remove(app._id); } });