Merge pull request #40468 from techhat/cachealias

Add __func_alias__ back in
This commit is contained in:
Nicole Thomas 2017-04-04 11:02:42 -06:00 committed by GitHub
commit 3eb8e0baf1
2 changed files with 4 additions and 0 deletions

View file

@ -61,6 +61,8 @@ api = None
# Define the module's virtual name
__virtualname__ = 'consul'
__func_alias__ = {'ls': 'list'}
def __virtual__():
'''

View file

@ -23,6 +23,8 @@ import salt.utils.atomicfile
log = logging.getLogger(__name__)
__func_alias__ = {'list': 'ls'}
def __cachedir(kwargs=None):
if kwargs and 'cachedir' in kwargs: