Skip to content

Commit 00b1764

Browse files
committed
Refactor OtelHook class to use TracingHook directly
Signed-off-by: André Silva <[email protected]>
1 parent ef5866c commit 00b1764

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/OpenFeature.Contrib.Hooks.Otel/OtelHook.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,7 @@ namespace OpenFeature.Contrib.Hooks.Otel
1414
[Obsolete("This class is obsolete and will be removed in a future version. Please use TracingHook instead.")]
1515
public class OtelHook : Hook
1616
{
17-
private readonly TracingHook _tracingHook;
18-
19-
/// <summary>
20-
/// Stub.
21-
/// </summary>
22-
[Obsolete("This class is obsolete and will be removed in a future version. Please use TracingHook instead.")]
23-
public OtelHook()
24-
{
25-
_tracingHook = new TracingHook();
26-
}
17+
private readonly TracingHook _tracingHook = new TracingHook();
2718

2819
/// <summary>
2920
/// After is executed after a feature flag has been evaluated.

0 commit comments

Comments
 (0)