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

outbound: Introduce a new outbound-route watch type #2250

Merged
merged 15 commits into from
Feb 22, 2023
Prev Previous commit
Next Next commit
move comment
olix0r committed Feb 21, 2023
commit 42c256b975c78772fcb8db96caa0863eab03ce5d
6 changes: 3 additions & 3 deletions linkerd/app/outbound/src/http/logical/profile.rs
Original file line number Diff line number Diff line change
@@ -40,13 +40,13 @@ pub(super) struct RouteParams<T> {

// === impl Params ===

// Wraps a `NewService`--instantiated once per logical target--that caches a set
// of concrete services so that, as the watch provides new `Params`, we can
// reuse inner services.
impl<T> Params<T>
where
T: Clone + Debug + Eq + Hash + Send + Sync + 'static,
{
/// Wraps a `NewService`--instantiated once per logical target--that caches
/// a set of concrete services so that, as the watch provides new `Params`,
/// we can reuse inner services.
pub(super) fn layer<N, S>(
metrics: metrics::Proxy,
) -> impl svc::Layer<