-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix http result errors by wrapping the upstream error, allowing for i…
…sNack (#764) * Add test for non-2XX response to Send Signed-off-by: Stephen Greene <stephen.greene@sap.com> * fix http result errors by wrapping the upstream error, allowing for isNack Signed-off-by: Scott Nichols <n3wscott@chainguard.dev> * special case http errors if the first error is not wrapped Signed-off-by: Scott Nichols <n3wscott@chainguard.dev> * Update test/integration/http/tap_handler.go Signed-off-by: Scott Nichols <n3wscott@chainguard.dev> * a receiver error will result in no event, the tap is returning an error before the handler Signed-off-by: Scott Nichols <n3wscott@chainguard.dev> Co-authored-by: Greene <stephen.greene@sap.com>
- Loading branch information
1 parent
7b7049a
commit 9380b70
Showing
4 changed files
with
55 additions
and
7 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
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