Skip to content

Commit

Permalink
rpc: mark the client tenant using logging tag client-tenant
Browse files Browse the repository at this point in the history
In the previous change, the logging tag was just "tenant".
This is somewhat confusing/ambiguous with the tenant identity
of the server itself.

Release note: None
  • Loading branch information
knz committed Feb 3, 2023
1 parent 1708ea4 commit d53143b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpc/auth_tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ func validateSpan(tenID roachpb.TenantID, sp roachpb.Span) error {
return checkSpanBounds(rSpan, tenSpan)
}

const tenantLoggingTag = "tenant"
const tenantLoggingTag = "client-tenant"

// contextWithClientTenant inserts a tenant identifier in the context,
// identifying the tenant that's the client for an RPC. The identifier can be
Expand Down

0 comments on commit d53143b

Please sign in to comment.