From 5d9c34090d7b4741bbf1bee7bfc7b2aa2b1ebda1 Mon Sep 17 00:00:00 2001 From: Austin Parker Date: Tue, 28 May 2019 08:55:38 -0400 Subject: [PATCH] fix build --- .../CoreFx/SqlClientDiagnostics.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OpenTracing.Contrib.NetCore/CoreFx/SqlClientDiagnostics.cs b/src/OpenTracing.Contrib.NetCore/CoreFx/SqlClientDiagnostics.cs index bdce5e1..b36ee60 100644 --- a/src/OpenTracing.Contrib.NetCore/CoreFx/SqlClientDiagnostics.cs +++ b/src/OpenTracing.Contrib.NetCore/CoreFx/SqlClientDiagnostics.cs @@ -16,8 +16,9 @@ internal sealed class SqlClientDiagnostics : DiagnosticListenerObserver private readonly SqlClientDiagnosticOptions _options; - public SqlClientDiagnostics(ILoggerFactory loggerFactory, ITracer tracer, IOptions options) - : base(loggerFactory, tracer) + public SqlClientDiagnostics(ILoggerFactory loggerFactory, ITracer tracer, IOptions options, + IOptions genericEventOptions) + : base(loggerFactory, tracer, genericEventOptions.Value) { _options = options?.Value ?? throw new ArgumentNullException(nameof(options)); }