fix: TypeError: Object of type Record is not JSON serializable
This commit is contained in:
parent
042a6fcf35
commit
dfe937d54e
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ class VirtualMachine(object):
|
||||||
vm = nb.virtualization.virtual_machines.create(
|
vm = nb.virtualization.virtual_machines.create(
|
||||||
name=hostname,
|
name=hostname,
|
||||||
cluster=cluster.id,
|
cluster=cluster.id,
|
||||||
platform=self.device_platform,
|
platform=self.device_platform.id,
|
||||||
device_platform=self.device_platform,
|
device_platform=self.device_platform.id,
|
||||||
vcpus=vcpus,
|
vcpus=vcpus,
|
||||||
memory=memory,
|
memory=memory,
|
||||||
tenant=tenant.id if tenant else None,
|
tenant=tenant.id if tenant else None,
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue