Skip to content

Commit

Permalink
Include task_id in endpoint to get ports, as that clarifies things if…
Browse files Browse the repository at this point in the history
… subtasks/parent tasks are included
  • Loading branch information
bartvanb committed Jan 20, 2023
1 parent 8e6cca3 commit 7f2a2f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vantage6-server/vantage6/server/resource/port.py
Expand Up @@ -440,7 +440,8 @@ def get(self):
'port': port.port,
'label': port.label,
'ip': port.result.node.ip,
'organization_id': port.result.organization_id
'organization_id': port.result.organization_id,
'task_id': port.result.task_id
}
addresses.append(d)

Expand Down

0 comments on commit 7f2a2f2

Please sign in to comment.