Revert "fix crash in scheduler"

This reverts commit 3b5e30f922.
This commit is contained in:
Girish Ramakrishnan
2015-11-22 21:13:05 -08:00
parent 6625610aca
commit 2e54be3df8
+2 -2
View File
@@ -182,11 +182,11 @@ function doTask(appId, taskName, callback) {
// NOTE: if you change container name here, fix addons.js to return correct container names
docker.createSubcontainer(app, app.id + '-' + taskName, [ '/bin/sh', '-c', gState[appId].schedulerConfig[taskName].command ], { } /* options */, function (error, container) {
appState.containerIds[taskName] = container.Id;
appState.containerIds[taskName] = container.id;
saveState(gState);
docker.startContainer(container.Id, callback);
docker.startContainer(container.id, callback);
});
});
});