]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.create fallback to bluestore when objectstore is not specified
authorAlfredo Deza <adeza@redhat.com>
Tue, 5 Dec 2017 15:22:05 +0000 (10:22 -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/create.py

index 353b26ab4ed8c0afb07b911d3362e6ccb3c0e5dd..edacecb79ecada2975293916cba867a47a0af7e0 100644 (file)
@@ -52,6 +52,6 @@ class Create(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.create(args)