Skip to content

Commit 15bebe4

Browse files
authored
outbound: add missing meta field in test policy (#2400)
Looks like we accidentally merged PR #2375 without a CI build against the latest state of `main`. In the meantime since #2375 was last built on CI, PR #2374 added an additional metadata field to `policy::HttpParams`, which the `HttpParams` constructed in the test added from #2375 doesn't populate. Therefore, merging this PR broke the build. Whoops! This commit populates the `meta` field, fixing it.
1 parent 2a48e12 commit 15bebe4

File tree

1 file changed

+1
-0
lines changed
  • linkerd/app/outbound/src/http/logical

1 file changed

+1
-0
lines changed

linkerd/app/outbound/src/http/logical/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ async fn balancer_doesnt_select_tripped_breakers() {
231231
let (_route_tx, routes) =
232232
watch::channel(Routes::Policy(policy::Params::Http(policy::HttpParams {
233233
addr: dest.into(),
234+
meta: ParentRef(client_policy::Meta::new_default("parent")),
234235
backends: Arc::new([backend.clone()]),
235236
routes: Arc::new([default_route(backend)]),
236237
failure_accrual: client_policy::FailureAccrual::ConsecutiveFailures {

0 commit comments

Comments
 (0)