[node-patches] Change in ovirt-node[node-3.0]: storage fix

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Nov 22 15:45:02 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: storage fix
......................................................................

storage fix

Change-Id: Ia4af4b742fcc21db3787066a76bf3836a5c2ffea
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=988575
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/storage.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/51/21551/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index 4f53b71..8cddb85 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -72,7 +72,7 @@
                                 skip = True
                                 break
                         if not skip:
-                            self.HOSTVGDRIVE += "%s," % disk
+                            self.HOSTVGDRIVE += ("%s," % disk) if disk else ""
             else:
                 self.ROOTDRIVE = _functions.translate_multipath_device(
                                     _functions.OVIRT_VARS["OVIRT_INIT"])


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4af4b742fcc21db3787066a76bf3836a5c2ffea
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list