Skip to content

Commit

Permalink
Fix wrong final state when init_from is used
Browse files Browse the repository at this point in the history
Fixes
#18855 (comment).
I don't think this had any effect in the previous version since we'd
always set the state to final_job_state anyway.
  • Loading branch information
mvdbeek committed Sep 23, 2024
1 parent 509b802 commit 2fef7e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/galaxy/model/store/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ def finalize_storage(

if init_from:
self.permission_provider.copy_dataset_permissions(init_from, primary_data)
primary_data.state = init_from.state
else:
self.permission_provider.set_default_hda_permissions(primary_data)

Expand Down

0 comments on commit 2fef7e3

Please sign in to comment.