mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-03 17:18:54 +00:00
Don't mix deprecations messages with warnings messages (#21337)
* Remove unused attribute '_passthrough' * Don't mix deprecations with warnings * Return values: add 'deprecations' key used internally * 'deprecations' and 'warnings' return values: add tests
This commit is contained in:
parent
d54bc09fae
commit
f2c22109fb
3 changed files with 81 additions and 3 deletions
|
|
@ -84,6 +84,10 @@ warnings
|
|||
````````
|
||||
This key contains a list of strings that will be presented to the user.
|
||||
|
||||
deprecations
|
||||
````````````
|
||||
This key contains a list of dictionaries that will be presented to the user. Keys of the dictionaries are `msg` and `version`, values are string, value for the `version` key can be an empty string.
|
||||
|
||||
.. seealso::
|
||||
|
||||
:doc:`modules`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue