mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
fix(multitenancy): consistently use tenant nomenclature everywhere (#6389)
This commit is contained in:
@ -147,10 +147,11 @@ where
|
||||
.and_then(|i| i.to_str().ok())
|
||||
.map(|s| s.to_owned());
|
||||
let response_fut = self.service.call(req);
|
||||
let tenant_id_clone = tenant_id.clone();
|
||||
Box::pin(
|
||||
async move {
|
||||
if let Some(tenant_id) = tenant_id {
|
||||
router_env::tracing::Span::current().record("tenant_id", &tenant_id);
|
||||
if let Some(tenant) = tenant_id_clone {
|
||||
router_env::tracing::Span::current().record("tenant_id", tenant);
|
||||
}
|
||||
let response = response_fut.await;
|
||||
router_env::tracing::Span::current().record("golden_log_line", true);
|
||||
@ -166,7 +167,7 @@ where
|
||||
status_code = Empty,
|
||||
flow = "UNKNOWN",
|
||||
golden_log_line = Empty,
|
||||
tenant_id = "ta"
|
||||
tenant_id = &tenant_id
|
||||
)
|
||||
.or_current(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user