mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Delete any app that isn't reflected in Docker
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user