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
This commit is contained in:
xiangxinyong 2017-02-16 09:35:03 +08:00
parent f98b2ad496
commit 560fc002fe
1 changed files with 1 additions and 1 deletions

View File

@ -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):