-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) Return exitcode and stderr in task response
In the task response, return exitcode and stderr as well as stdout. This allows a consumer to skip querying status, as all the data they need for a task is in the response. The status query used to retrieve task results returns stdout, stderr, and exitcode. This makes the response to running a task - which is returned immediately upon completion, rather than in response to a status request - contain the same information so a controller can avoid a follow-up request to get it.
- Loading branch information
1 parent
6ad5236
commit a47bb91
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters