mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
The 'domain' variable should be 'vmName'.
This commit is contained in:
parent
2ea66124f2
commit
60e0873a93
@ -931,7 +931,7 @@ def getvmId(vmName):
|
|||||||
sys.exit(3)
|
sys.exit(3)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
dom = (conn.lookupByName (domain))
|
dom = (conn.lookupByName (vmName))
|
||||||
except libvirt.libvirtError:
|
except libvirt.libvirtError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user