mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fixed shadowing built-in in mdadm module. Ref #5085
This commit is contained in:
parent
a53109b31c
commit
a48ae43976
@ -14,6 +14,12 @@ from salt.exceptions import CommandExecutionError
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Define a function alias in order not to shadow built-in's
|
||||
__func_alias__ = {
|
||||
'list_': 'list'
|
||||
}
|
||||
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
mdadm provides raid functions for Linux
|
||||
@ -25,7 +31,7 @@ def __virtual__():
|
||||
return 'raid'
|
||||
|
||||
|
||||
def list():
|
||||
def list_():
|
||||
'''
|
||||
List the RAID devices.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user