Browse Source

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
xiangxinyong 2 years ago
parent
commit
560fc002fe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      karbor_dashboard/checkpoints/views.py

+ 1
- 1
karbor_dashboard/checkpoints/views.py View File

@@ -186,7 +186,7 @@ class CheckpointsRestoreView(horizon_forms.ModalFormView):
186 186
     form_class = forms.RestoreCheckpointForm
187 187
     submit_label = _("Restore Checkpoint")
188 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 190
     page_title = _("Restore Checkpoint")
191 191
 
192 192
     def get_initial(self):

Loading…
Cancel
Save