mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-22 07:00:19 +00:00
* use collections.abc
ansible.module_utils.common._collections_compat shall be deprecated in
ansible-core 2.24
Use collections.abc
Link: https://forum.ansible.com/t/deprecation-warnings-in-ansible-core-2-20/44741
* Apply suggestion from @abikouo
* Fix linter errors
---------
(cherry picked from commit c643719085)
Signed-off-by: Plamerdi Makela <plamerdi447@gmail.com>
Co-authored-by: Plamerdi Makela <plamerdi447@gmail.com>
Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
Co-authored-by: Bianca Henderson <bianca@redhat.com>
This commit is contained in:
co-authored by
Plamerdi Makela
Bikouo Aubin
Bianca Henderson
parent
20b9c3fb7f
commit
5c06a554a8
@@ -4,11 +4,11 @@ __metaclass__ = type
|
||||
|
||||
import json
|
||||
import sys
|
||||
from collections.abc import MutableMapping
|
||||
from io import BytesIO
|
||||
|
||||
import ansible.module_utils.basic
|
||||
import pytest
|
||||
from ansible.module_utils.common._collections_compat import MutableMapping
|
||||
from ansible.module_utils.common.text.converters import to_bytes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user