mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #8776/e5bc38d8 backport][stable-9] MH: use mute_vardict_deprecation (#8782)
MH: use mute_vardict_deprecation (#8776)
* use mute_vardict_deprecation
* add changelog frag
(cherry picked from commit e5bc38d856
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
0c2642aa2e
commit
e7024c3f97
3 changed files with 5 additions and 1 deletions
3
changelogs/fragments/8776-mute-vardict-deprecation.yml
Normal file
3
changelogs/fragments/8776-mute-vardict-deprecation.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
minor_changes:
|
||||||
|
- jira - mute the old ``VarDict`` deprecation (https://github.com/ansible-collections/community.general/pull/8776).
|
||||||
|
- gio_mime - mute the old ``VarDict`` deprecation (https://github.com/ansible-collections/community.general/pull/8776).
|
|
@ -84,6 +84,7 @@ class GioMime(ModuleHelper):
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
)
|
)
|
||||||
|
mute_vardict_deprecation = True
|
||||||
|
|
||||||
def __init_module__(self):
|
def __init_module__(self):
|
||||||
self.runner = gio_mime_runner(self.module, check_rc=True)
|
self.runner = gio_mime_runner(self.module, check_rc=True)
|
||||||
|
|
|
@ -531,7 +531,7 @@ class JIRA(StateModuleHelper):
|
||||||
),
|
),
|
||||||
supports_check_mode=False
|
supports_check_mode=False
|
||||||
)
|
)
|
||||||
|
mute_vardict_deprecation = True
|
||||||
state_param = 'operation'
|
state_param = 'operation'
|
||||||
|
|
||||||
def __init_module__(self):
|
def __init_module__(self):
|
||||||
|
|
Loading…
Reference in a new issue