fix agent crash on server creation if not blade
This commit is contained in:
parent
a59690469b
commit
f8c0732c2b
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class ServerBase():
|
|||
else:
|
||||
server = nb.dcim.devices.get(serial=self.get_service_tag())
|
||||
if not server:
|
||||
self._netbox_create_server(datacenter, tenant, rack)
|
||||
server = self._netbox_create_server(datacenter, tenant, rack)
|
||||
|
||||
logging.debug('Updating Server...')
|
||||
# check network cards
|
||||
|
|
Loading…
Reference in a new issue