Browse Source

Removed unnecessary lines

This patch removes redundant dict initialisations in volume object

Change-Id: Ieb11e681bb6cc2db652cd567bc19811ad741ff33
changes/27/696627/1
Shatadru Bandyopadhyay 2 years ago
parent
commit
9359daa747
  1. 3
      cinder/objects/volume.py

3
cinder/objects/volume.py

@ -192,9 +192,6 @@ class Volume(cleanable.CinderCleanableObject, base.CinderObject,
def __init__(self, *args, **kwargs):
super(Volume, self).__init__(*args, **kwargs)
self._orig_metadata = {}
self._orig_admin_metadata = {}
self._orig_glance_metadata = {}
self._reset_metadata_tracking()

Loading…
Cancel
Save