Project

Profile

Help

Task #2675

closed

Rename 'results' field to 'error' for the Task document

Added by bmbouter about 7 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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().

Also available in: Atom PDF