mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-26 01:43:43 +01:00
Add missing break
This commit is contained in:
parent
61c0a9b519
commit
5defc38294
@ -53,6 +53,7 @@ with file.open('r') as stream:
|
|||||||
for rack_face in RACK_FACE_CHOICES:
|
for rack_face in RACK_FACE_CHOICES:
|
||||||
if params['face'] in rack_face:
|
if params['face'] in rack_face:
|
||||||
params['face'] = rack_face[0]
|
params['face'] = rack_face[0]
|
||||||
|
break
|
||||||
|
|
||||||
device, created = Device.objects.get_or_create(**params)
|
device, created = Device.objects.get_or_create(**params)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user