mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Fix typo in c/s 20158:f9ce5858.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
463d75af78
commit
d51e292331
1 file changed
+1
-1
@@ -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])
|
||||
|
||||