set label on the redis container

this ensures that redis is stopped when app is stopped and also
helps identifying app related containers easily
This commit is contained in:
Girish Ramakrishnan
2017-09-07 20:09:46 -07:00
parent 51659a8d2d
commit 74c8d8cc6b
2 changed files with 3 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ function deleteContainers(app, callback) {
assert.strictEqual(typeof app, 'object');
assert.strictEqual(typeof callback, 'function');
debugApp(app, 'deleting containers');
debugApp(app, 'deleting app containers (app, scheduler)');
docker.deleteContainers(app.id, function (error) {
if (error) return callback(new Error('Error deleting container: ' + error));