-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use proper status code to handle warehouse process #2659
Conversation
Codecov ReportBase: 43.73% // Head: 45.41% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2659 +/- ##
==========================================
+ Coverage 43.73% 45.41% +1.67%
==========================================
Files 191 287 +96
Lines 40483 47789 +7306
==========================================
+ Hits 17707 21702 +3995
- Misses 21671 24709 +3038
- Partials 1105 1378 +273
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
474b369
to
dff1133
Compare
|
||
if resp.StatusCode == http.StatusOK { | ||
_, err = io.Copy(io.Discard, resp.Body) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
74b9804
to
a8c40e7
Compare
….warehouse-process-api
a8c40e7
to
3ff3c98
Compare
Description
Handle status code when batch router hits warehouse
v1/process
URL.Notion Ticket
https://www.notion.so/rudderstacks/Handle-warehouse-process-9fa6aa8da88948999ea81bf5a34a352a
Security