From: FengJiankui Date: Wed, 1 Sep 2021 09:37:25 +0000 (+0800) Subject: ceph-volume: pvs --noheadings replace pvs --no-heading X-Git-Tag: v16.2.6~16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43076%2Fhead;p=ceph.git ceph-volume: pvs --noheadings replace pvs --no-heading Fixes: https://tracker.ceph.com/issues/52482 Signed-off-by: FengJiankui (cherry picked from commit 7083c4ffc63274bdd3103e9c5296bc70acbe745f) --- diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index 1afa30f50706..0f38249e1474 100644 --- a/src/ceph-volume/ceph_volume/api/lvm.py +++ b/src/ceph-volume/ceph_volume/api/lvm.py @@ -463,7 +463,7 @@ def get_pvs(fields=PV_FIELDS, filters='', tags=None): :returns: list of class PVolume object representing pvs on the system """ filters = make_filters_lvmcmd_ready(filters, tags) - args = ['pvs', '--no-heading', '--readonly', '--separator=";"', '-S', + args = ['pvs', '--noheadings', '--readonly', '--separator=";"', '-S', filters, '-o', fields] stdout, stderr, returncode = process.call(args, verbose_on_failure=False)