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

fabiand at redhat.com fabiand at redhat.com
Fri Sep 18 07:48:47 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>
---
M src/ovirtnode/storage.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/38/46338/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index c7611d6..5d43100 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -255,9 +255,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/46338
To unsubscribe, visit https://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list