mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
860de8d877
commit
0889907b3c
1 changed files with 6 additions and 1 deletions
|
@ -26,6 +26,11 @@ log = logging.getLogger(__name__)
|
|||
|
||||
from salt.exceptions import SaltInvocationError
|
||||
|
||||
# Don't shadow built-ins.
|
||||
__func_alias__ = {
|
||||
'list_': 'list'
|
||||
}
|
||||
|
||||
__virtualname__ = 'consul'
|
||||
|
||||
|
||||
|
@ -92,7 +97,7 @@ def _query(function,
|
|||
return ret
|
||||
|
||||
|
||||
def list(consul_url=None, key=None, **kwargs):
|
||||
def list_(consul_url=None, key=None, **kwargs):
|
||||
'''
|
||||
List keys in Consul
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue