[node-patches] Change in ovirt-node[master]: Fix typeerror issue for Filesystem.by_label("Root")

hadong0720 at gmail.com hadong0720 at gmail.com
Fri Apr 4 02:47:50 UTC 2014


hadong has uploaded a new change for review.

Change subject: Fix typeerror issue for Filesystem.by_label("Root")
......................................................................

Fix typeerror issue for Filesystem.by_label("Root")

Change-Id: I40d46518a4883889919b58467f910c0351c44f3c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1079695
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/utils/system.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/17/26417/1

diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py
index b72420a..4786e5e 100644
--- a/src/ovirt/node/utils/system.py
+++ b/src/ovirt/node/utils/system.py
@@ -664,7 +664,7 @@
                 device = process.check_output(["blkid", "-c", "/dev/null",
                                                "-L", label], stderr=DEVNULL)
 
-            fs = Filesystem(label, device)
+            fs = Filesystem(device)
 
         except process.CalledProcessError as e:
             LOGGER.debug("Failed to resolve disks: %s" % e.cmd, exc_info=True)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I40d46518a4883889919b58467f910c0351c44f3c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list