From 560fc002fe576ce4f391a373c2b72a074b3afc07 Mon Sep 17 00:00:00 2001 From: xiangxinyong Date: Thu, 16 Feb 2017 09:35:03 +0800 Subject: [PATCH] Redirect checkpoint restore to restores page Once the restore operation is successfully initialized, redirect to the restore page to get restore state and progress. Change-Id: I3d3fccbb36dd28d65461b1a18a844fe11e1692b6 --- karbor_dashboard/checkpoints/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karbor_dashboard/checkpoints/views.py b/karbor_dashboard/checkpoints/views.py index a938e09..133af62 100644 --- a/karbor_dashboard/checkpoints/views.py +++ b/karbor_dashboard/checkpoints/views.py @@ -186,7 +186,7 @@ class CheckpointsRestoreView(horizon_forms.ModalFormView): form_class = forms.RestoreCheckpointForm submit_label = _("Restore Checkpoint") submit_url = 'horizon:karbor:checkpoints:restore' - success_url = reverse_lazy('horizon:karbor:checkpoints:index') + success_url = reverse_lazy('horizon:karbor:restores:index') page_title = _("Restore Checkpoint") def get_initial(self):