mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Simplify FactCache.update()
We only need FactCache.update() for the backwards compatibility shim as MutableMapping.update() will do the right thing.
This commit is contained in:
@@ -63,7 +63,8 @@ Deprecated
|
||||
2. The ``FactCache.update()`` method has been converted to follow the dict API. It now takes a
|
||||
dictionary as its sole argument and updates itself with the dictionary's items. The previous
|
||||
API where ``update()`` took a key and a value will now issue a deprecation warning and will be
|
||||
removed in 2.12.
|
||||
removed in 2.12. If you need the old behaviour switch to ``FactCache.first_order_merge()``
|
||||
instead.
|
||||
|
||||
Modules
|
||||
=======
|
||||
|
||||
Reference in New Issue
Block a user