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(
|
||||
name=hostname,
|
||||
cluster=cluster.id,
|
||||
platform=self.device_platform,
|
||||
device_platform=self.device_platform,
|
||||
platform=self.device_platform.id,
|
||||
device_platform=self.device_platform.id,
|
||||
vcpus=vcpus,
|
||||
memory=memory,
|
||||
tenant=tenant.id if tenant else None,
|
||||
|
|
Loading…
Reference in a new issue