Skip to content

Commit d0554ea

Browse files
committed
Fix tests
1 parent a50d1d0 commit d0554ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelConnectionOfT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ internal async Task ExecuteAsync()
4646
if (metricsConnectionDurationEnabled)
4747
{
4848
metricsTagsFeature = new ConnectionMetricsTagsFeature();
49-
connectionContext.Features.Set(metricsTagsFeature);
49+
connectionContext.Features.Set<IConnectionMetricsTagsFeature>(metricsTagsFeature);
5050

5151
startTimestamp = Stopwatch.GetTimestamp();
5252
}

0 commit comments

Comments
 (0)