mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0c5f03d3f4
* manageiq_provider: method docstrings fixes * manageiq_provider: refactoring step towards DRY `resource` is now same in `edit_provider()` and `create_provider()`, to be extracted to main later. * manageiq_provider: Fix creation of openshift provider Fixes #38331. Sending `api_version` to openshift provider would cause error: "OpenShift api_version cannot be modified" due to https://github.com/ManageIQ/manageiq-providers-kubernetes/blob/gaprindashvili-2/app/models/manageiq/providers/kubernetes/container_manager.rb#L37 In `edit_provider` we `delete_nulls()` on the whole data being sent so `api_version` was omitted if not specified. In `create_provider()` we only did it on endpoints list so `api_version` was always sent - now doing on whole data. |
||
---|---|---|
.. | ||
ansible |