]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common: Fix typo in device type 31758/head
authorVolker Theile <vtheile@suse.com>
Wed, 20 Nov 2019 12:14:00 +0000 (13:14 +0100)
committerVolker Theile <vtheile@suse.com>
Wed, 20 Nov 2019 12:14:00 +0000 (13:14 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/python-common/ceph/deployment/inventory.py

index 2b6a674032ad9f1cada8c5d66df352184166cbb2..a5cd34812214895e619685f8ca8e64fbb2700b2d 100644 (file)
@@ -78,4 +78,4 @@ class Device(object):
         # type: () -> str
         if self.sys_api is None or 'rotational' not in self.sys_api:
             return "unknown"
-        return 'hdd' if self.sys_api["rotational"] == "1" else 'sdd/nvme'
+        return 'hdd' if self.sys_api["rotational"] == "1" else 'ssd/nvme'