fix rack association (#79)
This commit is contained in:
parent
458d1f83c2
commit
9f7f29c190
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class ServerBase():
|
|||
def get_netbox_rack(self):
|
||||
rack = nb.dcim.racks.get(
|
||||
name=self.get_rack(),
|
||||
datacenter=self.get_netbox_datacenter(),
|
||||
site_id=self.get_netbox_datacenter().id,
|
||||
)
|
||||
return rack
|
||||
|
||||
|
|
Loading…
Reference in a new issue