Skip to content

Commit cc71cec

Browse files
authored
Map Uri config value as string (#8234)
1 parent f8f8b76 commit cc71cec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Tools/dotnet-monitor/CommonOptionsExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ private static void MapValue(object? value, string valueName, string separator,
118118
valueType.IsEnum ||
119119
typeof(Guid) == valueType ||
120120
typeof(string) == valueType ||
121-
typeof(TimeSpan) == valueType)
121+
typeof(TimeSpan) == valueType ||
122+
typeof(Uri) == valueType)
122123
{
123124
map.Add(
124125
valueName,

0 commit comments

Comments
 (0)