Skip to content
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

Use original inner service in auth service call #58

Merged
merged 1 commit into from Nov 2, 2022
Merged

Conversation

walfie
Copy link
Owner

@walfie walfie commented Nov 2, 2022

Make sure to use the original service, rather than the cloned one, since the cloned instance may not be ready.

https://docs.rs/tower/0.4.13/tower/trait.Service.html#be-careful-when-cloning-inner-services

Make sure to use the original service, rather than the cloned one, since
the cloned instance may not be ready.

https://docs.rs/tower/0.4.13/tower/trait.Service.html#be-careful-when-cloning-inner-services
@walfie walfie enabled auto-merge (squash) November 2, 2022 04:04
@walfie walfie merged commit 829a3ff into master Nov 2, 2022
@walfie walfie deleted the fix-service-clone branch November 2, 2022 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant