Change in vdsm[master]: drop a non-variable variable
danken at redhat.com
danken at redhat.com
Wed Oct 23 08:42:44 UTC 2013
Dan Kenigsberg has uploaded a new change for review.
Change subject: drop a non-variable variable
......................................................................
drop a non-variable variable
Change-Id: I5f1345fcb6af904e36c7ce175ed4dffe339cebda
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/storage/volume.py
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/25/20425/1
diff --git a/vdsm/storage/volume.py b/vdsm/storage/volume.py
index ec34a97..fc7a3e5 100644
--- a/vdsm/storage/volume.py
+++ b/vdsm/storage/volume.py
@@ -877,7 +877,6 @@
"""
self.log.info("Info request: sdUUID=%s imgUUID=%s volUUID = %s ",
self.sdUUID, self.imgUUID, self.volUUID)
- image_corrupted = False
info = {}
try:
meta = self.getMetadata()
@@ -904,7 +903,7 @@
# If image was set to illegal, mark the status same
# (because of VDC constraints)
- if info.get('legality', None) == ILLEGAL_VOL or image_corrupted:
+ if info.get('legality', None) == ILLEGAL_VOL:
info['status'] = ILLEGAL_VOL
self.log.info("%s/%s/%s info is %s",
self.sdUUID, self.imgUUID, self.volUUID, str(info))
--
To view, visit http://gerrit.ovirt.org/20425
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f1345fcb6af904e36c7ce175ed4dffe339cebda
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
More information about the vdsm-patches
mailing list