mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Merge "Support updating extra_specs in project module"
This commit is contained in:
@@ -181,7 +181,7 @@ class IdentityProjectModule(OpenStackModule):
|
||||
raise ValueError('Duplicate key(s) in extra_specs: {0}'
|
||||
.format(', '.join(list(duplicate_keys))))
|
||||
for k, v in extra_specs.items():
|
||||
if v != project[k]:
|
||||
if k not in project or v != project[k]:
|
||||
attributes[k] = v
|
||||
|
||||
if attributes:
|
||||
|
||||
Reference in New Issue
Block a user