mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-11-21 14:48:41 +00:00
Use **-operator to unpack dict in volume_type_access
Closes-Bug: #2167592 Change-Id: I8b5fa92bb30e1b4e0a9860274e071547d65b7bc8 Signed-off-by: Jan Horstmann <horstmann@osism.tech>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- modules/volume_type_access.py in function VolumeTypeAccess._project_and_project_domain() did not properly unpack kwargs for find_project() and thus failed when used with `project_domain`.
|
||||
@@ -114,7 +114,7 @@ class VolumeTypeAccess(OpenStackModule):
|
||||
|
||||
if project_name_or_id:
|
||||
project_id = self.conn.identity.find_project(
|
||||
project_name_or_id, ignore_missing=False, *kwargs).id
|
||||
project_name_or_id, ignore_missing=False, **kwargs).id
|
||||
else:
|
||||
project_id = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user