forked from linkerd/linkerd2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor control::destination::background::client module (linkerd#38)
This branch should not make any functional changes. This branch makes two minor refactorings to the `client` module in `control::destination::background`: 1. Remove the `AddOrigin` middleware and replace it with the `tower-add-origin` crate from `tower-http`. These middlewares are functionally identical, but the Tower version has tests. 2. Change `ClientService` from a type alias to a tuple struct. This means that some of the middleware that are used only in this module (`LogErrors` and `Backoff`) are no longer part of a publicly visible type and can be made private to the module. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
- Loading branch information
Showing
4 changed files
with
54 additions
and
55 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