Liron Aravot has uploaded a new change for review.

Change subject: Revert "clusterLock: Make inquire retval consistent"
......................................................................

Revert "clusterLock: Make inquire retval consistent"

The reverted patch added a thired element to the returned tuple.
This patch restores the previous returned value.

Change-Id: I21611beaeb430c04ff5678189733d54cb1df6a84
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1218325
Signed-off-by: Liron Aravot <[email protected]>
---
M vdsm/storage/clusterlock.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/52/40652/1

diff --git a/vdsm/storage/clusterlock.py b/vdsm/storage/clusterlock.py
index 51d2906..24a5d81 100644
--- a/vdsm/storage/clusterlock.py
+++ b/vdsm/storage/clusterlock.py
@@ -465,7 +465,7 @@
     def inquire(self):
         with self._globalLockMapSync:
             hostId, lockFile = self._getLease()
-            return self.LVER, hostId if lockFile else None, None
+            return self.LVER, hostId if lockFile else None
 
     def release(self):
         with self._globalLockMapSync:


-- 
To view, visit https://gerrit.ovirt.org/40652
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I21611beaeb430c04ff5678189733d54cb1df6a84
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to