Retrieve volume groups after filtering by project

Get groups call is missing after filtering volumes by project name.
This patch fixes it.

Closes-Bug: #1941186

Change-Id: Ib456773aaeff0cb971f735a165cc776f2a80b7b4
This commit is contained in:
Tatiana Ovchinnikova 2021-09-10 15:49:43 -05:00
parent 420eaa5bac
commit 93b18ce573

View File

@ -121,6 +121,8 @@ class VolumesView(tables.PagedTableMixin, volumes_views.VolumeTableMixIn,
filters['project_id'] = id
volumes += self._get_volumes(search_opts=filters)
attached_instance_ids = self._get_attached_instance_ids(volumes)
self._get_groups(volumes)
else:
futurist_utils.call_functions_parallel(
_task_get_volumes,