1
0
Fork 0
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:
patchback[bot] 2024-08-20 09:11:36 +02:00 committed by GitHub
parent 0c2642aa2e
commit e7024c3f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View 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).

View file

@ -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)

View file

@ -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):