-
Notifications
You must be signed in to change notification settings - Fork 2
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
Remove Acquire #266
Remove Acquire #266
Conversation
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.
Great job! I left a couple of requests 🙂
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.
Left some followup notes
@denopink there is one test failing in listenerClient_test.go. |
@maurafortino let's fix all failing tests that are related to this code change 🙂 |
@@ -210,7 +200,10 @@ func (c *BasicClient) sendRequest(ctx context.Context, owner, method, url string | |||
if err != nil { | |||
return response{}, fmt.Errorf(errWrappedFmt, errNewRequestFailure, err.Error()) | |||
} | |||
err = acquire.AddAuth(r, c.auth) | |||
if c.auth == nil { |
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.
this fixes the failing test in listenerClient_test
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.
lgtm! 🍻
What's Included:
TODO:
-discuss solution
-fix unit tests after solution discussion