mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
A quick fix for Cache has no 'list' attribute.
This commit is contained in:
parent
4d932691f1
commit
c0fd5634cf
1 changed files with 2 additions and 0 deletions
2
salt/cache/__init__.py
vendored
2
salt/cache/__init__.py
vendored
|
@ -237,6 +237,8 @@ class Cache(object):
|
|||
fun = '{0}.ls'.format(self.driver)
|
||||
return self.modules[fun](bank, **self._kwargs)
|
||||
|
||||
list = ls
|
||||
|
||||
def contains(self, bank, key=None):
|
||||
'''
|
||||
Checks if the specified bank contains the specified key.
|
||||
|
|
Loading…
Add table
Reference in a new issue