Skip to content

Commit

Permalink
Couldve been linted, hard to test tape backups though
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed Nov 28, 2024
1 parent ad7d803 commit 5f519af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/datasets/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def process(self, **kwargs):
# Also set archived/archivable files which are already active (purged=False) to not deleted in UI
self.getfiles_query(**kwargs).filter(purged=False, deleted=True, pdcbackedupfile__isnull=False
).update(deleted=False)
Dataset.objects.filter(kwargs['dset_id']).update(
Dataset.objects.filter(pk=kwargs['dset_id']).update(
storageshare=ServerShare.objects.get(name=settings.PRIMARY_STORAGESHARENAME))


Expand Down

0 comments on commit 5f519af

Please sign in to comment.