From: Travis Rhoden Date: Wed, 1 Jul 2015 20:33:09 +0000 (-0700) Subject: [RM-12151] Remove redundant check for allowed fstypes X-Git-Tag: v1.5.26~13^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fdb9675b8efb181f4a4bf08e4a90c7703694fc59;p=ceph-deploy.git [RM-12151] Remove redundant check for allowed fstypes Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/osd.py b/ceph_deploy/osd.py index 9a1e9c8..648adc9 100644 --- a/ceph_deploy/osd.py +++ b/ceph_deploy/osd.py @@ -208,9 +208,6 @@ def prepare_disk( if zap: args.append('--zap-disk') if fs_type: - if fs_type not in ('btrfs', 'ext4', 'xfs'): - raise argparse.ArgumentTypeError( - "FS_TYPE must be one of 'btrfs', 'ext4' or 'xfs'") args.extend(['--fs-type', fs_type]) if dmcrypt: args.append('--dmcrypt')