project volume group: Fix incorrect reference to cgroup panel

Also fixes the success message of "Clone Group" form.

Change-Id: I7ace2529b9fdfcbbd348f9b49f5d9e54497e9def
Closes-Bug: #1821288
This commit is contained in:
Akihiro Motoki 2019-03-22 16:55:44 +09:00
parent 1d2145b888
commit 2d6dfd598c
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ class CloneGroupForm(forms.SelfHandlingForm):
def handle(self, request, data):
group_id = self.initial['group_id']
try:
message = _('Creating consistency group "%s".') % data['name']
message = _('Cloning volume group "%s".') % data['name']
group = cinder.group_create_from_source(
request,
data['name'],

View File

@ -37,7 +37,7 @@ from openstack_dashboard.dashboards.project.volume_groups \
CGROUP_INFO_FIELDS = ("name",
"description")
INDEX_URL = "horizon:project:cgroups:index"
INDEX_URL = "horizon:project:volume_groups:index"
class IndexView(tables.DataTableView):