Skip to content

Commit

Permalink
python-common: Fix typo in device type
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <[email protected]>
  • Loading branch information
votdev committed Nov 20, 2019
1 parent b2b3b76 commit 234171b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python-common/ceph/deployment/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ def human_readable_type(self):
# 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'

0 comments on commit 234171b

Please sign in to comment.