mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-15 18:42:29 +02:00
Fix setting CF data if CF object is missing
This commit is contained in:
@ -14,6 +14,6 @@ for params in providers:
|
||||
provider, created = Provider.objects.get_or_create(**params)
|
||||
|
||||
if created:
|
||||
set_custom_fields_values(provider, custom_field_data)
|
||||
|
||||
print("📡 Created provider", provider.name)
|
||||
|
||||
set_custom_fields_values(provider, custom_field_data)
|
||||
|
Reference in New Issue
Block a user