[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix typo in c/s 20158:f9ce5858.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1252506877 -3600
# Node ID 473487173fdaf6c952e295554a299a3b167d9630
# Parent  71c7c3994b19d5fb38371c25d299f1ac37841430
Fix typo in c/s 20158:f9ce5858.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 71c7c3994b19 -r 473487173fda tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 09 15:33:30 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 09 15:34:37 2009 +0100
@@ -3011,7 +3011,7 @@ class XendDomainInfo:
             fn = blkdev_uname_to_file(disk)
 
             # If this is a drbd volume, check if we need to activate it
-            if disktype.find(":") != -1:
+            if disk.find(":") != -1:
                 (disktype, diskname) = disk.split(':', 1)
                 if disktype == 'drbd':
                     (drbdadmstdin, drbdadmstdout) = 
os.popen2(["/sbin/drbdadm", "state", diskname])

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.