mirror of https://github.com/apache/cloudstack.git
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)
|
||||
|
||||
try:
|
||||
dom = (conn.lookupByName (domain))
|
||||
dom = (conn.lookupByName (vmName))
|
||||
except libvirt.libvirtError:
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue