mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Change json output
This commit is contained in:
parent
0ffabaab4b
commit
33b3b88612
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class InstanceBc:
|
||||||
date = core.getkey(date)["value"]
|
date = core.getkey(date)["value"]
|
||||||
idmongo = core.generalquerycacheinfra("instances", date, cluster, node, vmid)["value"][0]["_id"]["$oid"]
|
idmongo = core.generalquerycacheinfra("instances", date, cluster, node, vmid)["value"][0]["_id"]["$oid"]
|
||||||
I = Instance()
|
I = Instance()
|
||||||
result = json.loads(I.GET(idmongo, action))["value"]
|
result = json.loads(I.GET(idmongo, action))
|
||||||
|
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
result = {
|
result = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue