mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-06 05:30:57 +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
-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