[test/support/docker_swarm] remove deprecation (#74203)
Change: - Remove deprecation block from support test code Tickets: - Fixes #74146 Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
parent
9c506031fa
commit
8c413749fc
2 changed files with 0 additions and 6 deletions
|
@ -234,7 +234,6 @@ test/support/integration/plugins/module_utils/network/common/utils.py future-imp
|
||||||
test/support/integration/plugins/module_utils/network/common/utils.py metaclass-boilerplate
|
test/support/integration/plugins/module_utils/network/common/utils.py metaclass-boilerplate
|
||||||
test/support/integration/plugins/module_utils/postgres.py future-import-boilerplate
|
test/support/integration/plugins/module_utils/postgres.py future-import-boilerplate
|
||||||
test/support/integration/plugins/module_utils/postgres.py metaclass-boilerplate
|
test/support/integration/plugins/module_utils/postgres.py metaclass-boilerplate
|
||||||
test/support/integration/plugins/modules/docker_swarm.py pylint:ansible-deprecated-version
|
|
||||||
test/support/integration/plugins/modules/lvg.py pylint:blacklisted-name
|
test/support/integration/plugins/modules/lvg.py pylint:blacklisted-name
|
||||||
test/support/integration/plugins/modules/timezone.py pylint:blacklisted-name
|
test/support/integration/plugins/modules/timezone.py pylint:blacklisted-name
|
||||||
test/support/network-integration/collections/ansible_collections/ansible/netcommon/plugins/doc_fragments/netconf.py future-import-boilerplate
|
test/support/network-integration/collections/ansible_collections/ansible/netcommon/plugins/doc_fragments/netconf.py future-import-boilerplate
|
||||||
|
|
|
@ -447,11 +447,6 @@ class SwarmManager(DockerBaseClass):
|
||||||
"inspect": self.inspect_swarm
|
"inspect": self.inspect_swarm
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.state == 'inspect':
|
|
||||||
self.client.module.deprecate(
|
|
||||||
"The 'inspect' state is deprecated, please use 'docker_swarm_info' to inspect swarm cluster",
|
|
||||||
version='2.12', collection_name='ansible.builtin')
|
|
||||||
|
|
||||||
choice_map.get(self.state)()
|
choice_map.get(self.state)()
|
||||||
|
|
||||||
if self.client.module._diff or self.parameters.debug:
|
if self.client.module._diff or self.parameters.debug:
|
||||||
|
|
Loading…
Reference in a new issue