]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12151] Remove redundant check for allowed fstypes
authorTravis Rhoden <trhoden@redhat.com>
Wed, 1 Jul 2015 20:33:09 +0000 (13:33 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Wed, 1 Jul 2015 20:50:22 +0000 (13:50 -0700)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/osd.py

index 9a1e9c83f5d93c3e0b079a749137dbe609f313b6..648adc9d4fd3c981b14e8bad050e8c3044f5f187 100644 (file)
@@ -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')