fix validated id list
This commit is contained in:
parent
1fdcca9882
commit
690826ace1
2 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,7 @@ def clientvms(vmlist):
|
||||||
|
|
||||||
response = {}
|
response = {}
|
||||||
for vmid,data in vmlist.items():
|
for vmid,data in vmlist.items():
|
||||||
response = { str(vmid):data }
|
response[vmid] = data
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -303,5 +303,6 @@ def getmyip():
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
#internal module tests
|
#internal module tests
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
print(vmvnc(656758))
|
vmvnc(656758)
|
||||||
|
#vmstart(656758)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue