mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Stub out required functions for redis cache
Without these functions the masters are not able to use the redis cache completely Signed-off-by: Carson Anderson <ca@carsonoid.net>
This commit is contained in:
parent
03f0f4a8b3
commit
885bee2a7d
7
salt/cache/redis_cache.py
vendored
7
salt/cache/redis_cache.py
vendored
@ -115,7 +115,7 @@ from salt.exceptions import SaltCacheError
|
||||
|
||||
__virtualname__ = 'redis'
|
||||
__func_alias__ = {
|
||||
'list_': 'list'
|
||||
'ls': 'list'
|
||||
}
|
||||
|
||||
log = logging.getLogger(__file__)
|
||||
@ -145,6 +145,9 @@ def __virtual__():
|
||||
# helper functions -- will not be exported
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
def init_kwargs(kwargs):
|
||||
return {}
|
||||
|
||||
|
||||
def _get_redis_cache_opts():
|
||||
'''
|
||||
@ -415,7 +418,7 @@ def flush(bank, key=None):
|
||||
return True
|
||||
|
||||
|
||||
def list_(bank):
|
||||
def ls(bank):
|
||||
'''
|
||||
Lists entries stored in the specified bank.
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user