mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Typo fix
This commit is contained in:
parent
436ba28f08
commit
9bbecf7960
2 changed files with 4 additions and 4 deletions
4
salt/cache/consul.py
vendored
4
salt/cache/consul.py
vendored
|
@ -132,7 +132,7 @@ def flush(bank, key=None):
|
|||
)
|
||||
|
||||
|
||||
def _list(bank):
|
||||
def list_(bank):
|
||||
'''
|
||||
Return an iterable object containing all entries stored in the specified bank.
|
||||
'''
|
||||
|
@ -156,7 +156,7 @@ def _list(bank):
|
|||
return keys
|
||||
|
||||
|
||||
getlist = _list
|
||||
getlist = list_
|
||||
|
||||
|
||||
def contains(bank, key):
|
||||
|
|
4
salt/cache/localfs.py
vendored
4
salt/cache/localfs.py
vendored
|
@ -118,7 +118,7 @@ def flush(bank, key=None, cachedir=None):
|
|||
return True
|
||||
|
||||
|
||||
def _list(bank, cachedir):
|
||||
def list_(bank, cachedir):
|
||||
'''
|
||||
Return an iterable object containing all entries stored in the specified bank.
|
||||
'''
|
||||
|
@ -135,7 +135,7 @@ def _list(bank, cachedir):
|
|||
)
|
||||
|
||||
|
||||
getlist = _list
|
||||
getlist = list_
|
||||
|
||||
|
||||
def contains(bank, key, cachedir):
|
||||
|
|
Loading…
Add table
Reference in a new issue