Skip to content

Commit 7abdcb7

Browse files
committed
skip tenant checks for balancerd sni path
1 parent c7d381d commit 7abdcb7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/balancerd/src/lib.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,16 +1319,17 @@ impl Resolver {
13191319
}),
13201320
) => {
13211321
let sni_addr = sni_addr_template.replace("{}", servername);
1322-
let tenant = stub_resolver.tenant(&sni_addr).await;
1322+
// let tenant = stub_resolver.tenant(&sni_addr).await;
13231323
let sni_addr = format!("{sni_addr}:{port}");
13241324
let addr = lookup(&sni_addr).await?;
1325-
if tenant.is_some() {
1326-
debug!("SNI header found for tenant {:?}", tenant);
1327-
}
1325+
// if tenant.is_some() {
1326+
// debug!("SNI header found for tenant {:?}", tenant);
1327+
// }
13281328
ResolvedAddr {
13291329
addr,
13301330
password: None,
1331-
tenant,
1331+
tenant: None,
1332+
// tenant,
13321333
}
13331334
}
13341335
_ => {

0 commit comments

Comments
 (0)