Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Fixed property names
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranciszkiewicz committed May 23, 2017
1 parent 309cd55 commit 530c12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golem/task/taskmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ def _simple_task_repr(states, task):
state = states.get(task.header.task_id)
return {
u'id': to_unicode(task.header.task_id),
u'name': to_unicode(task.task_definition.name),
u'type': to_unicode(task.task_definition.type),
u'name': to_unicode(task.task_definition.task_name),
u'type': to_unicode(task.task_definition.task_type),
u'duration': max(task.task_definition.full_task_timeout -
state.remaining_time, 0),
u'time_remaining': state.remaining_time,
Expand Down

0 comments on commit 530c12b

Please sign in to comment.