-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
chore(sinks): fix endpoint strip for aws region #3070
Conversation
Signed-off-by: Kirill Fomichev <[email protected]>
I'd like to get @bruceg's approval before merging this, just to make sure this doesn't regress a separate feature that we are not aware of. |
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.
I'd like to add a test for the case that showed us this bug.
Signed-off-by: Kirill Fomichev <[email protected]>
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.
I agree with @lukesteensen, this needs a test case to demonstrate the issue, preferably handling all of:
- No trailing slash on URL,
- With a trailing slash,
- With trailing slash and path,
- Maybe all of the above with a query string.
I see I tested #1, and #3 with a query, but I obviously didn't check other cases.
Pushed test, but github not displayed new changes in branch.. |
Signed-off-by: Kirill Fomichev <[email protected]>
Did... GA break? |
Signed-off-by: Ana Hobden <[email protected]>
* chore(sinks): fix endpoint strip for aws region Signed-off-by: Kirill Fomichev <[email protected]> * add test Signed-off-by: Kirill Fomichev <[email protected]> * add yet one test Signed-off-by: Kirill Fomichev <[email protected]> * Github actions is buggy Signed-off-by: Ana Hobden <[email protected]> Co-authored-by: Ana Hobden <[email protected]> Signed-off-by: Brian Menges <[email protected]>
Closes #3067
Introduced in #2489: https://github.com/timberio/vector/pull/2489/files#diff-9eda8574251e683f40cb5255b9709c13R74