summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiangxinyong <xiangxinyong@huawei.com>2017-02-16 09:35:03 +0800
committerxiangxinyong <xiangxinyong@huawei.com>2017-02-16 09:35:03 +0800
commit560fc002fe576ce4f391a373c2b72a074b3afc07 (patch)
tree201175ef870607d2ca226df7d98b9bd58f95a08c
parentf98b2ad496f706cf5c2a70dc838ef236f4070df4 (diff)
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
Notes
Notes (review): Code-Review+1: zhangshuai <446077695@qq.com> Code-Review+2: chenying <ying.chen@huawei.com> Code-Review+2: Yuval Brik <yuval@brik.org.il> Workflow+1: Yuval Brik <yuval@brik.org.il> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 08 Mar 2017 09:05:07 +0000 Reviewed-on: https://review.openstack.org/434702 Project: openstack/karbor-dashboard Branch: refs/heads/master
-rw-r--r--karbor_dashboard/checkpoints/views.py2
1 files changed, 1 insertions, 1 deletions
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):
186 form_class = forms.RestoreCheckpointForm 186 form_class = forms.RestoreCheckpointForm
187 submit_label = _("Restore Checkpoint") 187 submit_label = _("Restore Checkpoint")
188 submit_url = 'horizon:karbor:checkpoints:restore' 188 submit_url = 'horizon:karbor:checkpoints:restore'
189 success_url = reverse_lazy('horizon:karbor:checkpoints:index') 189 success_url = reverse_lazy('horizon:karbor:restores:index')
190 page_title = _("Restore Checkpoint") 190 page_title = _("Restore Checkpoint")
191 191
192 def get_initial(self): 192 def get_initial(self):