mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Log correct count when files were deleted
This commit is contained in:
parent
8d6c591535
commit
5ff9483d13
@ -176,7 +176,7 @@ class DataSource(JobsMixin, PrimaryModel):
|
||||
|
||||
# Bulk delete deleted files
|
||||
deleted_count, _ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
|
||||
logger.debug(f"Deleted {updated_count} files")
|
||||
logger.debug(f"Deleted {deleted_count} files")
|
||||
|
||||
# Walk the local replication to find new files
|
||||
new_paths = self._walk(local_path) - known_paths
|
||||
|
Loading…
Reference in New Issue
Block a user