Add repair route

this is specifically for the case where some task failed and user
wants to get it back.
This commit is contained in:
Girish Ramakrishnan
2019-09-19 17:04:11 -07:00
parent 2942da78de
commit 9a22ba3af7
5 changed files with 39 additions and 2 deletions
+3 -1
View File
@@ -1029,7 +1029,9 @@ function run(appId, args, progressCallback, callback) {
switch (app.installationState) {
case apps.ISTATE_PENDING_INSTALL: return install(app, args, progressCallback, callback);
case apps.ISTATE_PENDING_CONFIGURE: return configure(app, args.oldConfig, progressCallback, callback);
case apps.ISTATE_PENDING_CONFIGURE:
case apps.ISTATE_PENDING_REPAIR:
return configure(app, args.oldConfig, progressCallback, callback);
case apps.ISTATE_PENDING_RECREATE_CONTAINER:
case apps.ISTATE_PENDING_RESIZE:
case apps.ISTATE_PENDING_DEBUG: