From b5af3a16a8e3408e9151e8566b562f8bee5415ef Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 8 Jul 2019 22:47:04 -0400 Subject: [PATCH] Join features list in CLI output --- client-common/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-common/ceph.py b/client-common/ceph.py index f38c84fa..6fa7aac5 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -1068,7 +1068,7 @@ def format_list_volume(volume_list): volume_format_length = _volume_format_length # Set the features and length - _volume_features_length = len(str(volume_information['stats']['features'])) + 1 + _volume_features_length = len(str(','.join(volume_information['stats']['features']))) + 1 if _volume_features_length > volume_features_length: volume_features_length = _volume_features_length @@ -1126,7 +1126,7 @@ def format_list_volume(volume_list): volume_objects=volume_information['stats']['objects'], volume_order=volume_information['stats']['order'], volume_format=volume_information['stats']['format'], - volume_features=volume_information['stats']['features'], + volume_features=','.join(volume_information['stats']['features']), ) )