Change in vdsm[master]: fileSD: fix set update for getAllImages

ykaplan at redhat.com ykaplan at redhat.com
Sun Jul 14 15:44:33 UTC 2013


Yeela Kaplan has uploaded a new change for review.

Change subject: fileSD: fix set update for getAllImages
......................................................................

fileSD: fix set update for getAllImages

Change-Id: I3afc389fcd02bd7b08d7b194c2e130d7541e2b9a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=982617
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/storage/fileSD.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/16830/1

diff --git a/vdsm/storage/fileSD.py b/vdsm/storage/fileSD.py
index dcc6baf..1651825 100644
--- a/vdsm/storage/fileSD.py
+++ b/vdsm/storage/fileSD.py
@@ -335,7 +335,7 @@
         images = set()
         for i in files:
             if self.oop.os.path.isdir(i):
-                images.update(os.path.basename(i))
+                images.add(os.path.basename(i))
         return images
 
     def deleteImage(self, sdUUID, imgUUID, volsImgs):


-- 
To view, visit http://gerrit.ovirt.org/16830
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3afc389fcd02bd7b08d7b194c2e130d7541e2b9a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list