Skip to content

Commit

Permalink
Allow preempted device information to reach user.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidraker committed Apr 19, 2024
1 parent 1a1c447 commit e5c1962
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions services/core/ActuatorAgent/actuator/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,11 +1382,8 @@ def _request_new_schedule(self, sender, task_id, priority, requests, publish_res
'data': {'agentID': sender,
'taskID': task_id}})

# If we are successful we do something else with the real result data
data = result.data if not result.success else {}

results = {'result': success,
'data': data,
'data': result.data,
'info': result.info_string}

if publish_result:
Expand Down

0 comments on commit e5c1962

Please sign in to comment.