fix rack association #79

Merged
Solvik merged 1 commit from fix_rack into master 2019-09-11 17:35:28 +02:00
Showing only changes of commit c6577a0341 - Show all commits

View file

@ -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