From 460ee588d062754de670776602f366530077d9fb Mon Sep 17 00:00:00 2001 From: "wei.ying" Date: Sat, 8 Apr 2017 07:38:17 +0800 Subject: [PATCH] Fix remove consistency group volumes form redict url error In path of remove consistency group volumes form, the given exception redirct URL is not correct. Change-Id: If17ede1acd170e8ee03eede74e87bdf46d6bf84d Closes-Bug: #1680986 --- openstack_dashboard/dashboards/project/cgroups/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/cgroups/forms.py b/openstack_dashboard/dashboards/project/cgroups/forms.py index 0f8112596d..db98134b4a 100644 --- a/openstack_dashboard/dashboards/project/cgroups/forms.py +++ b/openstack_dashboard/dashboards/project/cgroups/forms.py @@ -84,7 +84,7 @@ class RemoveVolsForm(forms.SelfHandlingForm): return True except Exception: - redirect = reverse("horizon:project:groups:index") + redirect = reverse("horizon:project:cgroups:index") exceptions.handle(request, _('Errors occurred in removing volumes ' 'from consistency group.'), redirect=redirect)