From: Mohamad Gebai Date: Tue, 2 Apr 2019 10:45:02 +0000 (-0400) Subject: ceph-volume: update volume's tags structure when setting tags X-Git-Tag: v15.1.0~2912^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a1198deffb0baf647a6a31e03cbfe98f011ff14;p=ceph.git ceph-volume: update volume's tags structure when setting tags Signed-off-by: Mohamad Gebai --- diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index 58676b89685b..b0605fe1ad37 100644 --- a/src/ceph-volume/ceph_volume/api/lvm.py +++ b/src/ceph-volume/ceph_volume/api/lvm.py @@ -1201,6 +1201,7 @@ class Volume(object): '--addtag', '%s=%s' % (key, value), self.lv_path ] ) + self.tags[key] = value class PVolume(object):