Actions
Task #2675
closedRename 'results' field to 'error' for the Task document
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 18
Quarter:
Description
This is the state of the model at the time of this writing: https://github.com/pulp/pulp/blob/3fe96dcbf48a59613df3494d838f6c3240fb5b52/app/pulp/app/models/task.py#L155
The 'result' field currently stores the return value from a task. That occurs here It also stores a fatal exception here.
This would rename the field as described in the title and update the associated helper methods: update set_failed() and set_completed().
Actions
Rename 'result' field on the Task model to 'error'.
closes #2675 https://pulp.plan.io/issues/2675