mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #28713 from hexedpackets/fix-consul-module
Rename consul.list to consul.list_keys.
This commit is contained in:
commit
a620bc5596
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