replica.create_task -> import_task_with_uuid

This commit is contained in:
Dustin J. Mitchell
2022-01-23 15:22:41 +00:00
parent 0308b7a4c7
commit 656f7e9ea0
3 changed files with 6 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ fn import_task<W: WriteColor>(
}
}
let uuid = uuid.ok_or_else(|| anyhow!("task has no uuid"))?;
replica.create_task(uuid)?;
replica.import_task_with_uuid(uuid)?;
let mut description = None;
for attr in line.attrs.drain(..) {