Policys ist not the proper plural

Bug #2065613 reported by Silvio Knizek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ansible-collections-openstack
New
Undecided
Unassigned

Bug Description

In openstack/cloud/plugins/module_utils/resource.py line 14 to 18 the different function calls are created.

This code assumes for `list_function`, that the plural to get several objects back is always `{singular}s`. This works in most cases in the English language, but breaks for `rbac_policy`, as the plural is there `rbac_policies`.

Calling

```yaml
- openstack.cloud.resource:
  service: network
  type: rbac_policy
```

is therefor broken, because the CRUD functions can't be created.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.