mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
17713 fix underscore in datasource.sync (#17729)
This commit is contained in:
parent
e59f776e02
commit
4e763462e6
@ -201,7 +201,7 @@ class DataSource(JobsMixin, PrimaryModel):
|
|||||||
logger.debug(f"Updated {updated_count} files")
|
logger.debug(f"Updated {updated_count} files")
|
||||||
|
|
||||||
# Bulk delete deleted files
|
# Bulk delete deleted files
|
||||||
deleted_count, _ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
|
deleted_count, __ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
|
||||||
logger.debug(f"Deleted {deleted_count} files")
|
logger.debug(f"Deleted {deleted_count} files")
|
||||||
|
|
||||||
# Walk the local replication to find new files
|
# Walk the local replication to find new files
|
||||||
|
Loading…
Reference in New Issue
Block a user