mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-14 09:57:16 +00:00
Fix pure-go unittests
So they can run on e.g. LXC containers as root, or other conceivable setups.
This commit is contained in:
1 parent
370e3cdfea
commit
6826efc723
4 files changed
+41
-4
No files matched your search
+1
-1
@@ -56,7 +56,7 @@ func (list *List) DeleteTaskByID(ID int) (Task, error) {
|
||||
return *task, nil
|
||||
}
|
||||
|
||||
return *task, fmt.Errorf("Task with id %v is still running", ID)
|
||||
return *task, fmt.Errorf("Task with id %v is still in state=%d", ID, task.State)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user