]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/ceph-volume/ceph_volume/devices/lvm/common.py
import ceph quincy 17.2.1
[ceph.git] / ceph / src / ceph-volume / ceph_volume / devices / lvm / common.py
index 614be0af6ad6115af7c91b4e5f64b00087840e90..edc8e1cbce117c377b60bf36d97b04090b9072e5 100644 (file)
@@ -4,7 +4,6 @@ from ceph_volume import terminal
 from ceph_volume.devices.lvm.zap import Zap
 import argparse
 
-
 def rollback_osd(args, osd_id=None):
     """
     When the process of creating or preparing fails, the OSD needs to be
@@ -40,7 +39,7 @@ common_args = {
     '--data': {
         'help': 'OSD data path. A physical device or logical volume',
         'required': True,
-        'type': arg_validators.ValidDevice(as_string=True),
+        'type': arg_validators.ValidDataDevice(as_string=True),
         #'default':,
         #'type':,
     },