Use platform id instead of record (#231)
This commit is contained in:
parent
0cff7d3477
commit
ea66becd3d
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class ServerBase():
|
|||
serial=serial,
|
||||
device_role=device_role.id,
|
||||
device_type=device_type.id,
|
||||
platform=self.device_platform,
|
||||
platform=self.device_platform.id,
|
||||
site=datacenter.id if datacenter else None,
|
||||
tenant=tenant.id if tenant else None,
|
||||
rack=rack.id if rack else None,
|
||||
|
|
Loading…
Reference in a new issue