From 419ec53d0706d2eccf66f6e5bfa1669b1a0e77e7 Mon Sep 17 00:00:00 2001 From: Chris R Date: Fri, 19 May 2017 07:14:14 -0700 Subject: [PATCH] React to StringSegment changes --- .../Internal/HostingApplicationDiagnostics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Hosting/Internal/HostingApplicationDiagnostics.cs b/src/Microsoft.AspNetCore.Hosting/Internal/HostingApplicationDiagnostics.cs index ba91ad264b..50d29efd5e 100644 --- a/src/Microsoft.AspNetCore.Hosting/Internal/HostingApplicationDiagnostics.cs +++ b/src/Microsoft.AspNetCore.Hosting/Internal/HostingApplicationDiagnostics.cs @@ -246,7 +246,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal { if (NameValueHeaderValue.TryParse(item, out var baggageItem)) { - activity.AddBaggage(baggageItem.Name, baggageItem.Value); + activity.AddBaggage(baggageItem.Name.ToString(), baggageItem.Value.ToString()); } } }