reset health when app is stopped

This commit is contained in:
Girish Ramakrishnan
2015-11-30 15:41:56 -08:00
parent 667cb84af7
commit d2c8457ab1
+1 -1
View File
@@ -660,7 +660,7 @@ function stopApp(app, callback) {
docker.stopContainers(app.id, function (error) {
if (error) return callback(error);
updateApp(app, { runState: appdb.RSTATE_STOPPED }, callback);
updateApp(app, { runState: appdb.RSTATE_STOPPED, health: null }, callback);
});
}