Skip to content

Commit

Permalink
Pass Tracer.Instance to Cache
Browse files Browse the repository at this point in the history
Necessary as otherwise we won't disable the
commands.
  • Loading branch information
bouwkast committed Sep 18, 2024
1 parent cfa65d6 commit c9cf74d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static Cache()
{
CommandType = typeof(TCommand);

if (TryGetIntegrationDetails(CommandType.FullName, tracer: null, out var integrationId, out var dbTypeName))
if (TryGetIntegrationDetails(CommandType.FullName, tracer: Tracer.Instance, out var integrationId, out var dbTypeName))
{
// cache values for this TCommand type
DbTypeName = dbTypeName;
Expand Down

0 comments on commit c9cf74d

Please sign in to comment.