diff --git a/salt/states/blockdev.py b/salt/states/blockdev.py index 5a3e58fa14..4b0dc5ca81 100644 --- a/salt/states/blockdev.py +++ b/salt/states/blockdev.py @@ -160,7 +160,7 @@ def formatted(name, fs_type='ext4', force=False, **kwargs): return ret __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 # see https://github.com/saltstack/salt/issues/25775i