mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-29 00:17:35 +00:00
ansible-core 2.20: avoid deprecated functionality (#10687)
Avoid deprecated functionality.
(cherry picked from commit 47e8a3c193)
This commit is contained in:
parent
6d94f0acbe
commit
8a6fb28296
22 changed files with 23 additions and 21 deletions
|
|
@ -31,7 +31,7 @@ except ImportError:
|
|||
from ansible.module_utils import six
|
||||
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
|
||||
from ansible.module_utils.common.text.converters import to_native
|
||||
from ansible.module_utils.common._collections_compat import Mapping
|
||||
from ansible.module_utils.six.moves.collections_abc import Mapping
|
||||
|
||||
|
||||
def transform_list_to_dict(list_):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue