mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Use __func_alias__
This commit is contained in:
parent
b5c0dbe0ed
commit
1b78f4069f
@ -5,5 +5,4 @@ Salt Release Notes - Codename Beryllium
|
||||
JBoss 7 State
|
||||
=============
|
||||
|
||||
- Renamed ``reload`` function to ``reload_jboss``
|
||||
- Remove unused argument ``timeout`` in jboss7.status
|
||||
|
@ -24,6 +24,9 @@ import re
|
||||
import logging
|
||||
from salt.utils import dictdiffer
|
||||
|
||||
__func_alias__ = {
|
||||
'reload_': 'reload
|
||||
}
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -71,7 +74,7 @@ def stop_server(jboss_config):
|
||||
raise Exception('''Cannot handle error, return code={retcode}, stdout='{stdout}', stderr='{stderr}' '''.format(**shutdown_result))
|
||||
|
||||
|
||||
def reload_jboss(jboss_config):
|
||||
def reload_(jboss_config):
|
||||
'''
|
||||
Reload running jboss instance
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user