[NEW PATCH] Related to BZ#730912 - Remove unnecessary verification. (via gerrit-bot)

Eduardo Warszawski ewarszaw at redhat.com
Tue Aug 16 12:59:46 UTC 2011


New patch submitted by Eduardo Warszawski (ewarszaw at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/816

commit b732ef982cae18e9a486f035f6e3ebc33c370256
Author: Eduardo Warszawski <ewarszaw at redhat.com>
Date:   Tue Aug 16 13:43:54 2011 +0300

    Related to BZ#730912 - Remove unnecessary verification.
    
    Change-Id: I772cd164ddf9ec89abb2791754e4312fc9541c46

diff --git a/vdsm/storage/blockVolume.py b/vdsm/storage/blockVolume.py
index 1b4988f..76d9c79 100644
--- a/vdsm/storage/blockVolume.py
+++ b/vdsm/storage/blockVolume.py
@@ -434,8 +434,6 @@ class BlockVolume(volume.Volume):
             for tag in vol.tags:
                 if tag.startswith(TAG_PREFIX_IMAGE):
                     img = tag[3:]
-                    if image.REMOVED_IMAGE_PREFIX not in img:
-                        images.append(img)
 
         # Check image legallity, if needed
         if legal:




More information about the vdsm-patches mailing list