From 1e9871241eaebfd8bfeedbfbc5988875046548e0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 12 Feb 2024 13:09:57 -0500 Subject: [PATCH] Fix bug showing OSDs as split when not --- client-cli/pvc/lib/storage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client-cli/pvc/lib/storage.py b/client-cli/pvc/lib/storage.py index 8b69c7c8..bd50f4ee 100644 --- a/client-cli/pvc/lib/storage.py +++ b/client-cli/pvc/lib/storage.py @@ -430,7 +430,9 @@ def format_list_osd(config, osd_list): ) continue - if osd_information.get("is_split") is not None: + if osd_information.get("is_split") is not None and osd_information.get( + "is_split" + ): osd_information["device"] = f"{osd_information['device']} [s]" # Deal with the size to human readable