mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-09 16:15:08 +02:00
Added newline and breaks.
This commit is contained in:
@ -53,6 +53,7 @@ with file.open('r') as stream:
|
||||
for ip_status in IPADDRESS_STATUS_CHOICES:
|
||||
if params['status'] in ip_status:
|
||||
params['status'] = ip_status[0]
|
||||
break
|
||||
|
||||
ip_address, created = IPAddress.objects.get_or_create(**params)
|
||||
|
||||
|
Reference in New Issue
Block a user