mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43199 from corywright/disk-format-alias
Add `disk.format` alias for `disk.format_`
This commit is contained in:
commit
4193e7f0a2
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ import salt.utils.decorators as decorators
|
|||
from salt.utils.decorators import depends
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
||||
__func_alias__ = {
|
||||
'format_': 'format'
|
||||
}
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
HAS_HDPARM = salt.utils.which('hdparm') is not None
|
||||
|
|
Loading…
Add table
Reference in a new issue