]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.prepare fallback to bluestore when objectstore is not specified
authorAlfredo Deza <adeza@redhat.com>
Tue, 5 Dec 2017 15:21:20 +0000 (10:21 -0500)
committerAlfredo Deza <adeza@redhat.com>
Tue, 5 Dec 2017 20:32:10 +0000 (15:32 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/prepare.py

index 79dca2766e1b7e2ba49cbf80c0daa7626f0e21b2..67352bddc5e8e19ebb0965aa24e00006a694875e 100644 (file)
@@ -301,6 +301,6 @@ class Prepare(object):
         args = parser.parse_args(self.argv)
         # Default to bluestore here since defaulting it in add_argument may
         # cause both to be True
-        if args.bluestore is None and args.filestore is None:
+        if not args.bluestore and not args.filestore:
             args.bluestore = True
         self.safe_prepare(args)