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