[node-patches] Change in ovirt-node[ovirt-3.5]: storage: Fix typo in installer code

fabiand at redhat.com fabiand at redhat.com
Mon Nov 23 11:05:04 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: storage: Fix typo in installer code
......................................................................

storage: Fix typo in installer code

Change-Id: I1f2055c0a2e507e7c7568653d6046b06857bacd0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1264195
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
(cherry picked from commit b2afe7e930511e5f5c7ae921c3b9bbd375e2b597)
---
M src/ovirtnode/storage.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/71/48971/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index a7fcbdb..8023e2c 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -247,9 +247,9 @@
             i = 0
             timeout = 15
             while not os.path.exists(drive):
-                logger.error(drive + " is not available, waiting %s more " +
-                             "secs") % (timeout - i)
-                i = i + i
+                logger.error((drive + " is not available, waiting %s more " +
+                              "secs") % (timeout - i))
+                i = i + 1
                 time.sleep(1)
                 if i == timeout:
                     logger.error("Timed out waiting for: %s" % drive)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f2055c0a2e507e7c7568653d6046b06857bacd0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list