From: Andrew Schoen Date: Thu, 18 Jan 2018 20:34:22 +0000 (-0600) Subject: ceph-volume: no need to set PVolume.vg_name explicitly X-Git-Tag: v13.0.2~453^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=129182645c4a7e5e42500d3ef2083cfdfb0137e4;p=ceph.git ceph-volume: no need to set PVolume.vg_name explicitly This will be set automatically in __init__ by looping through kw.items and creating properties on PVolume with them. Signed-off-by: Andrew Schoen --- diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index 31f38eeca764..374834b32c17 100644 --- a/src/ceph-volume/ceph_volume/api/lvm.py +++ b/src/ceph-volume/ceph_volume/api/lvm.py @@ -737,7 +737,6 @@ class PVolume(object): setattr(self, k, v) self.pv_api = kw self.name = kw['pv_name'] - self.vg_name = kw['vg_name'] self.tags = parse_tags(kw['pv_tags']) def __str__(self):