mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38676 from yhekma/2016.11
Removed overloading of list()
This commit is contained in:
commit
aae8b54860
3 changed files with 3 additions and 3 deletions
2
salt/cache/__init__.py
vendored
2
salt/cache/__init__.py
vendored
|
@ -206,7 +206,7 @@ class Cache(object):
|
|||
Raises an exception if cache driver detected an error accessing data
|
||||
in the cache backend (auth, permissions, etc).
|
||||
'''
|
||||
fun = '{0}.{1}'.format(self.driver, 'list')
|
||||
fun = '{0}.{1}'.format(self.driver, 'getlist')
|
||||
return self.modules[fun](bank)
|
||||
|
||||
def contains(self, bank, key=None):
|
||||
|
|
2
salt/cache/consul.py
vendored
2
salt/cache/consul.py
vendored
|
@ -129,7 +129,7 @@ def flush(bank, key=None):
|
|||
)
|
||||
|
||||
|
||||
def list(bank):
|
||||
def getlist(bank):
|
||||
'''
|
||||
Return an iterable object containing all entries stored in the specified bank.
|
||||
'''
|
||||
|
|
2
salt/cache/localfs.py
vendored
2
salt/cache/localfs.py
vendored
|
@ -112,7 +112,7 @@ def flush(bank, key=None):
|
|||
return True
|
||||
|
||||
|
||||
def list(bank):
|
||||
def getlist(bank):
|
||||
'''
|
||||
Return an iterable object containing all entries stored in the specified bank.
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue