mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
module_utils: implement deprecation warning for params (#20884)
* module_utils: implement deprecation warning for params * rename deprecated_version to removed_in_version * fix pep8 E121
This commit is contained in:
@@ -105,7 +105,7 @@ class CallbackBase:
|
||||
self._display.warning(warning)
|
||||
if 'deprecations' in res and res['deprecations']:
|
||||
for warning in res['deprecations']:
|
||||
self._display.deprecated(warning)
|
||||
self._display.deprecated(**warning)
|
||||
|
||||
def _get_diff(self, difflist):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user