mirror of
https://github.com/lopes/netbox-scanner.git
synced 2025-07-19 20:04:36 +02:00
bugfix in host creation
This commit is contained in:
parent
f9833a65ba
commit
6b57c0a080
@ -134,7 +134,7 @@ class NetBoxScanner(object):
|
||||
description_new=host[1])
|
||||
else:
|
||||
self.netbox.ipam.ip_addresses.create(address=host[0],
|
||||
tags=[self.tag], description=host[0])
|
||||
tags=[self.tag], description=host[1])
|
||||
self.logger('created', address=host[0], description=host[1])
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user