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:
Matthew Summers 2017-10-09 20:38:52 -05:00 committed by rallytime
parent 3a68e356f8
commit b4ba7ae2fc
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -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)
current_fs = __salt__['disk.fstype'](name)
# Repeat lsblk check up to 10 times with 3s sleeping between each