From 129182645c4a7e5e42500d3ef2083cfdfb0137e4 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 18 Jan 2018 14:34:22 -0600 Subject: [PATCH] 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 --- src/ceph-volume/ceph_volume/api/lvm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index 31f38eeca7644..374834b32c17d 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): -- 2.39.5