mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Adjust deprecation versions.
This commit is contained in:
parent
f9589d78a8
commit
7bb008a964
136 changed files with 549 additions and 678 deletions
3
plugins/cache/redis.py
vendored
3
plugins/cache/redis.py
vendored
|
@ -79,7 +79,8 @@ class CacheModule(BaseCacheModule):
|
|||
self._prefix = self.get_option('_prefix')
|
||||
except KeyError:
|
||||
display.deprecated('Rather than importing CacheModules directly, '
|
||||
'use ansible.plugins.loader.cache_loader', version='2.12')
|
||||
'use ansible.plugins.loader.cache_loader',
|
||||
version='2.0.0', collection_name='community.general') # was Ansible 2.12
|
||||
if C.CACHE_PLUGIN_CONNECTION:
|
||||
uri = C.CACHE_PLUGIN_CONNECTION
|
||||
self._timeout = float(C.CACHE_PLUGIN_TIMEOUT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue