-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Steps to reproduce:
- Run
curl -v -d '{\"id\": \"44923378-ac56-4870-a64c-e97aad95a0db\", \"name\": \"myapp\", \"executable\": \"sleep\", \"args\": [\"infinity\"]}' http://localhost:8080/tasksin PowerShell - Run
curl -X DELETE http://localhost:8080/tasks/44923378-ac56-4870-a64c-e97aad95a0db
Expected behavior:
- The task with
44923378-ac56-4870-a64c-e97aad95a0dbID to be deleted
Actual behavior:
- An error because
task.Processisnil
Possible solution:
- Store
exec.Cmdin theTaskstructure instead of theos.Process
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels