mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
addresses issue #43307, disk.format_ to disk.format
This change fixes breakage. It appears the disk.format_ func is aliased to disk.format in modules/disk.py
This commit is contained in:
parent
a4358dfa36
commit
18fb0be96a
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def formatted(name, fs_type='ext4', force=False, **kwargs):
|
|||
ret['result'] = None
|
||||
return ret
|
||||
|
||||
__salt__['disk.format_'](name, fs_type, force=force, **kwargs)
|
||||
__salt__['disk.format'](name, fs_type, force=force, **kwargs)
|
||||
|
||||
# Repeat fstype check up to 10 times with 3s sleeping between each
|
||||
# to avoid detection failing although mkfs has succeeded
|
||||
|
|
Loading…
Add table
Reference in a new issue