mirror of
https://github.com/clearml/clearml-server
synced 2025-03-09 21:51:54 +00:00
Set cloned task parent to original task if original task has no parent
This commit is contained in:
parent
238a47a197
commit
e6dc4b7557
@ -264,7 +264,7 @@ class TaskBLL:
|
||||
parent_task = (
|
||||
task.parent
|
||||
if task.parent and not task.parent.startswith(deleted_prefix)
|
||||
else None
|
||||
else task.id
|
||||
)
|
||||
new_task = Task(
|
||||
id=create_id(),
|
||||
|
Loading…
Reference in New Issue
Block a user