Seperated Task and TaskResult types.

This commit is contained in:
Jakob Friedl
2025-05-29 15:26:50 +02:00
parent 118e9eadd2
commit 3849bcd7f1
11 changed files with 59 additions and 75 deletions

View File

@@ -60,7 +60,7 @@ proc main() =
# Execute all retrieved tasks and return their output to the server
for task in tasks:
let result = task.handleTask(config)
let result: TaskResult = task.handleTask(config)
discard config.postResults(agent, result)
when isMainModule: