mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42868 from carsonoid/redisjobcachefix
Stub out required functions in redis_cache
This commit is contained in:
commit
c1c8cb9bfa
1 changed files with 5 additions and 2 deletions
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…
Add table
Reference in a new issue